• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

R/H18-Oct-2021-18,0097,765

build/H03-May-2022-

inst/H18-Oct-2021-21

man/H18-Oct-2021-10,7339,046

src/H18-Oct-2021-15,25310,548

tests/H18-Oct-2021-11,6159,402

DESCRIPTIONH A D18-Oct-20211.5 KiB4342

LICENSEH A D05-Oct-202143 32

LICENSE.noteH A D05-Oct-20211.7 KiB3426

MD5H A D18-Oct-202123.4 KiB439438

NAMESPACEH A D18-Oct-202111 KiB551549

NEWS.mdH A D18-Oct-202166.3 KiB1,8181,274

README.mdH A D18-Oct-20212.2 KiB6240

README.md

1rlang <img src="man/figures/rlang.png" align="right" />
2=======================================================
3
4<!-- badges: start -->
5[![R build status](https://github.com/r-lib/rlang/workflows/R-CMD-check/badge.svg)](https://github.com/r-lib/rlang/actions)
6[![Codecov test coverage](https://codecov.io/gh/r-lib/rlang/branch/master/graph/badge.svg)](https://app.codecov.io/gh/r-lib/rlang?branch=master)
7[![Lifecycle Status](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html)
8<!-- badges: end -->
9
10**Important**: The rlang API is still maturing. Please see
11`?rlang::lifecycle` for the list of functions that are considered
12stable.
13
14
15## Overview
16
17The rlang package provides tools to work with core language features
18of R and the tidyverse:
19
20*   The __tidy eval__ framework, which is a well-founded system for
21    non-standard evaluation built on quasiquotation (`!!`) and
22    quoted arguments (`enquo()`). See <https://tidyeval.tidyverse.org>.
23
24*   User-friendly __error reporting__ with backtraces and chained errors
25    (`abort()`, `trace_back()`, `with_abort()`).
26
27*   A consistent API for working with __base types__. Note that overall
28    this is a work in progress that is still in flux:
29
30    * Environments, e.g. `env()`, `env_has()`, `env_get()`,
31      `env_bind()`, `env_unbind()`, `env_print()`.
32
33    * Calls and symbols, e.g. `call2()`, `is_call()`, `sym()`, `syms()`.
34
35    * Functions, e.g. `new_function()`, `as_function()`. The latter
36      supports the purrr-style formula notation for lambda functions.
37
38    * Vectors, including construction (`lgl()`, `int()`, ...) and
39      predicates (`is_logical()`, `is_character()`).
40
41    * Attributes, e.g. `set_names()`.
42
43
44## Installation
45
46You can install the released version of rlang from CRAN with:
47
48```r
49install.packages("rlang")
50```
51
52Or install the development version from github with:
53
54```r
55# install.packages("remotes")
56remotes::install_github("r-lib/rlang")
57```
58
59## Cheatsheet
60
61<a href="https://github.com/rstudio/cheatsheets/blob/master/tidyeval.pdf"><img src="https://raw.githubusercontent.com/rstudio/cheatsheets/master/pngs/thumbnails/tidy-eval-thumbs.png" alt = "tidy eval cheatsheet" width="630" height="252"/></a>
62