-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
topological_sort()
to datanames(teal_data())
and also extend …
…`datanames()` with parent dataset when it is provided in `join_keys` (#319) Part of insightsengineering/teal#1253 This PR introduced below changes - `teal_data()` constructor does not put `names(join_keys)` in default `datanames(teal_data())` to maintain consistency with other features, where we do not allow `datanames()` to contain names of objects that do not exist in `@env` - `datanames()` now sorts names topologically based on provided `join_keys()` - each time `datanames()` and `join_keys()` is overwritten the sort is applied to `teal_data()@datanames` - provided few more tests - adjusted 2 tests that assumed extraction of `datanames()` from `join_keys` is fine - but it's not right now as we do not allow `datanames()` to contain names of objects that do not exists in `@env` Will provide testing in this PR in teal as well https://github.com/insightsengineering/teal/pull/1280/files --------- Signed-off-by: Marcin <[email protected]> Co-authored-by: André Veríssimo <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: go_gonzo <[email protected]>
- Loading branch information
1 parent
b8f4522
commit d240c22
Showing
8 changed files
with
145 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ CDISC | |
Forkers | ||
Getter | ||
Hoffmann | ||
Kahn | ||
ORCID | ||
Reproducibility | ||
formatters | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters