Skip to content
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

Update tidyselect syntax #91

Open
mfansler opened this issue May 28, 2024 · 0 comments
Open

Update tidyselect syntax #91

mfansler opened this issue May 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mfansler
Copy link
Collaborator

There is a warning omitted from the R scripts respecting using a vector to do column selection. This should be updated to preemptively avoid possible future support for the substandard syntax. For example:

Warning message:
Using an external vector in selections was deprecated in tidyselect 1.1.0.Please use `all_of()` or `any_of()` instead.
  # Was:
  data %>% select(cols_to_rm)
  # Now:
  data %>% select(all_of(cols_to_rm))
See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>. 
@mfansler mfansler added the enhancement New feature or request label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant