-
Notifications
You must be signed in to change notification settings - Fork 64
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
Tidyverse consistency #246
Labels
feature
a feature request or enhancement
Comments
This was referenced Sep 21, 2023
Merged
jennybc
added a commit
that referenced
this issue
Sep 22, 2023
* Refine `+` method * Add a test * Update tests/testthat/test-glue.R Co-authored-by: Hadley Wickham <h.wickham@gmail.com> * Add a test for `+`ing size incompatible inputs * Tidy up these tests * Treat `NULL` like `character()` in `+` This is different from what's planned for `glue_data()` / `glue()` in #246, but I think it's what we want. In any case, it preserves existing behaviour. If we want something else, it would need to happen in #246, possibly as part of an edition. * Tweak NEWS --------- Co-authored-by: Hadley Wickham <h.wickham@gmail.com>
Consult tidyverse/design#24 when tackling this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Created on 2021-12-06 by the reprex package (v2.0.1)
Three problems:
NA
should be infectiousNULL
should be silently dropped (not treated likecharacter()
)The last two can already be control via arguments:
Created on 2021-12-06 by the reprex package (v2.0.1)
But I think it would be good to consider a path forward to bring the defaults into alignment with the rest of the tidyverse, even if it has to go via some sort of edition.
The text was updated successfully, but these errors were encountered: