Skip to content

Update tidyselect syntax #91

@mfansler

Description

@mfansler

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>. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions