Debian Codegraph @

man/vars_select.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/lifecycle-deprecated.R
3 \name{vars_select}
4 \alias{vars_select}
5 \alias{vars_rename}
6 \title{Select or rename variables}
7 \usage{
8 vars_select(
9 .vars,
10 ...,
11 .include = character(),
12 .exclude = character(),
13 .strict = TRUE
14 )
15
16 vars_rename(.vars, ..., .strict = TRUE)
17 }
18 \arguments{
19 \item{.vars}{A character vector of existing column names.}
20
21 \item{...}{Selection inputs. See the help for \link[=language]{selection helpers}.}
22
23 \item{.include, .exclude}{Character vector of column names to always
24 include/exclude.}
25
26 \item{.strict}{If \code{TRUE}, will throw an error if you attempt to select or
27 rename a variable that doesn't exist.}
28 }
29 \value{
30 A named character vector. Values are existing column names,
31 names are new names.
32 }
33 \description{
34 \ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#questioning}{\figure{lifecycle-questioning.svg}{options: alt='[Questioning]'}}}{\strong{[Questioning]}}
35
36 Please use \code{\link[=eval_select]{eval_select()}} and \code{\link[=eval_rename]{eval_rename()}} instead. See
37 \code{vignette("tidyselect")} to get started.
38 }
39 \seealso{
40 \code{\link[=vars_pull]{vars_pull()}}
41 }
42 \keyword{internal}