File: one_of.Rd

package info (click to toggle)
r-cran-tidyselect 1.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 616 kB
  • sloc: sh: 13; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{one_of}
\alias{one_of}
\title{Superseded selection helpers}
\usage{
one_of(..., .vars = NULL)
}
\arguments{
\item{...}{One or more character vectors.}

\item{.vars}{A character vector of variable names. When called
from inside selecting functions like \code{\link[dplyr:select]{dplyr::select()}} these are
automatically set to the names of the table.}
}
\description{
\code{one_of()} is superseded in favour of the more precise \code{\link[=any_of]{any_of()}} and
\code{\link[=all_of]{all_of()}} selectors.
}
\keyword{internal}