Please use eval_select()
and eval_rename()
instead. See
vignette("tidyselect")
to get started.
vars_select(
.vars,
...,
.include = character(),
.exclude = character(),
.strict = TRUE
)vars_rename(.vars, ..., .strict = TRUE)
A named character vector. Values are existing column names, names are new names.
A character vector of existing column names.
Selection inputs. See the help for selection helpers.
Character vector of column names to always include/exclude.
If TRUE
, will throw an error if you attempt to select or
rename a variable that doesn't exist.
vars_pull()