Important: The rlang API is still maturing. Please see
?rlang::lifecycle for the list of functions that are considered
The rlang package provides tools to work with core language features of R and the tidyverse:
The tidy eval framework, which is a well-founded system for non-standard evaluation built on quasiquotation (
!!) and quoted arguments (
enquo()). See https://tidyeval.tidyverse.org.
User-friendly error reporting with backtraces and chained errors (
A consistent API for working with base types. Note that overall this is a work in progress that is still in flux:
Calls and symbols, e.g.
as_function(). The latter supports the purrr-style formula notation for lambda functions.
Vectors, including construction (
int(), ...) and predicates (
You can install the released version of rlang from CRAN with:
Or install the development version from github with:
# install.packages("devtools") devtools::install_github("r-lib/rlang", build_vignettes = TRUE)