|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| R/ | H | 18-Oct-2021 | - | 18,009 | 7,765 |
| build/ | H | 03-May-2022 | - | | |
| inst/ | H | 18-Oct-2021 | - | 2 | 1 |
| man/ | H | 18-Oct-2021 | - | 10,733 | 9,046 |
| src/ | H | 18-Oct-2021 | - | 15,253 | 10,548 |
| tests/ | H | 18-Oct-2021 | - | 11,615 | 9,402 |
| DESCRIPTION | H A D | 18-Oct-2021 | 1.5 KiB | 43 | 42 |
| LICENSE | H A D | 05-Oct-2021 | 43 | 3 | 2 |
| LICENSE.note | H A D | 05-Oct-2021 | 1.7 KiB | 34 | 26 |
| MD5 | H A D | 18-Oct-2021 | 23.4 KiB | 439 | 438 |
| NAMESPACE | H A D | 18-Oct-2021 | 11 KiB | 551 | 549 |
| NEWS.md | H A D | 18-Oct-2021 | 66.3 KiB | 1,818 | 1,274 |
| README.md | H A D | 18-Oct-2021 | 2.2 KiB | 62 | 40 |
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