one_of: Superseded selection helpers

View source: R/helpers.R

one_ofR Documentation

Superseded selection helpers

Description

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

Usage

one_of(..., .vars = NULL)

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.


tidyverse/tidyselect documentation built on March 14, 2024, 3:16 p.m.