-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the way IDs are created in teal_data()
constructor
#323
Conversation
Merge branch 'main' of https://github.com/insightsengineering/teal.data # Conflicts: # tests/testthat/test-get_code.R
Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com>
Update R/teal_data-datanames.R Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com> add two tests for topological_sort
…om/insightsengineering/teal.data into topological_sort@669_insertUI@main
Co-authored-by: André Veríssimo <211358+averissimo@users.noreply.github.com> Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com>
…om/insightsengineering/teal.data into topological_sort@669_insertUI@main
…in_keys as they might refer to datanames that do not exist in env
…ering/teal.data into 669_insertUI@main
Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com>
teal_data()
constructorteal_data()
constructor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id
needs to be random. We made an exception in teal
to simplify code there only. This fails a join
method (duplicated @id
elements are not included):
q1 <- teal_data(a = 1, code = "a <- 1")
q2 <- teal_data(b = 2, code = "b <- 2")
joined <- join(q1, q2)
get_code(joined) |> cat()
# warning('Code was not verified for reproducibility.')
# a <- 1
Yes, Ok! That's why I though that join could break it, but could find the code in join that does that to prove myself wrong : ) Thanks for taking a look |
@m7pr I think we you close it |
Follow-up after insightsengineering/teal#1302 (comment) this discussion.
Results of tests