-
Notifications
You must be signed in to change notification settings - Fork 420
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
part of issue #446, expand supports list columns but complete does not #537
Conversation
tests/testthat/test-expand.R
Outdated
formulas <- list(formula1 = Sepal.Length ~ Sepal.Width, | ||
formula2 = Sepal.Length ~ Sepal.Width + Petal.Width, | ||
formula3 = Sepal.Length ~ Sepal.Width + Petal.Width + Petal.Length) | ||
(demo <- tibble::tibble(formulas = formulas, data_sets = data_sets)) |
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.
I don't think we need the tibble::
prefix here. Also, I'd suggest to create demo
only once with a pipe instead of updating it, something like :
demo <- tibble(formulas = formulas, data_sets = data_sets)) %>%
expand(formulas, data_sets)
I guess the problem you mention about This is planned for the |
Just pushed an update to Romain's comments. Not 100% if I totally fixed the extraneous new line but I used the styler plug in - happy to tweak further. |
Thanks @SamanthaToet! I made a few small changes to focus the docs and test on what was actually changed: the implementation of |
Added a test for type and size of result.
complete
doesn't work though because it relies ondplyr::left_join
which doesn't support list columns currently, @romainfrancois 🦄