-
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
last (?) argument to collapse #9
Comments
Oxford comma, surprising hadley! |
r-lib/cli#128 (for tidy developer day) can be resolved by adding this feature. What do you think about an |
I thought I had an original idea to introduce an If there was a glue::glue_collapse(x = 1:4, sep = ", ", last = ", and ")
#> 1, 2, 3, and 4
try(glue::glue_collapse(x = 1:4, sep = ", ", last = " and ", oxford = TRUE))
#> Error in glue::glue_collapse(x = 1:4, sep = ", ", last = " and ", oxford = TRUE) :
#> unused argument (oxford = TRUE) I am also not seeing a Signed, pro-Oxford comma guy. |
So you can do:
The text was updated successfully, but these errors were encountered: