Learn R Programming

tidyselect (version 1.0.0)

one_of: Retired selection helpers

Description

one_of() is retired in favour of the more precise any_of() and all_of() selectors.

Usage

one_of(..., .vars = peek_vars(fn = "one_of"))

Arguments

...

One or more character vectors.

.vars

A character vector of variable names. When called from inside selecting functions like dplyr::select() these are automatically set to the names of the table.