Tidy evaluationQuote arguments and expressions with unquoting support. The quosure variants wrap an environment with the expression. |
|
---|---|
|
Defuse R expressions |
Force parts of an expression |
|
Create a default name for an R object |
|
Extract names from symbols |
|
Tidy dotsCollect arguments contained in |
|
Dynamic dots |
|
Collect dots in a list |
|
Create pairlists with splicing support |
|
Errors, conditions, and backtraces |
|
Signal an error, warning, or message |
|
Build an error message from parts |
|
Format bullets for error messages |
|
Capture a backtrace |
|
Promote all errors to rlang errors |
|
Add backtrace from error handler |
|
Signal a condition object |
|
Last |
|
Display backtrace on error |
|
Catch a condition |
|
Evaluate expressions |
|
Evaluate an expression with quosures and pronoun support |
|
Evaluate an expression in an environment |
|
Execute a function |
|
Symbols |
|
Create a symbol or list of symbols |
|
Is object a symbol? |
|
Cast symbol to string |
|
Calls |
|
Extract arguments from a call |
|
Extract function from a call |
|
Inspect a call |
|
Modify the arguments of a call |
|
Extract function name or namespace of a call |
|
Standardise a call |
|
Create a call |
|
Is object a call? |
|
Expressions |
|
Process unquote operators in a captured expression |
|
Turn an expression to a label |
|
Print an expression |
|
Ensure that all elements of a list of expressions are named |
|
Parse R code |
|
Is an object an expression? |
|
Set and get an expression |
|
Quosures |
|
Format quosures for printing or labelling |
|
Squash a quosure |
|
|
Quosure getters, setters and testers |
Coerce object to quosure |
|
Create a list of quosures |
|
Ensure that all elements of a list of expressions are named |
|
Formulas |
|
Get or set formula components |
|
Turn RHS of formula into a string or label |
|
Create a formula |
|
Is object a formula? |
|
Functions |
|
Get or set function body |
|
Return the closure environment of a function |
|
|
Extract arguments from a function |
Create a function |
|
|
Is object a function? |
Convert to function or closure |
|
Environments |
|
Create a new environment |
|
Pretty-print an environment |
|
Get parent environments |
|
Depth of an environment chain |
|
Get or set the environment of an object |
|
Clone an environment |
|
Does environment inherit from another environment? |
|
Is object an environment? |
|
Coerce to an environment |
|
Get the current or caller environment |
|
Environment bindings |
|
Bind symbols to objects in an environment |
|
Remove bindings from an environment |
|
Poke an object in an environment |
|
Temporarily change bindings of an environment |
|
Questioning |
|
Does an environment have or see bindings? |
|
Get an object in an environment |
|
Names and numbers of symbols bound in an environment |
|
Search path and namespaces |
|
|
Search path environments |
Get the empty environment |
|
Are packages installed in any of the libraries? |
|
Is an object a namespace environment? |
|
Get the namespace of a package |
|
Label of an environment |
|
S3 |
|
Does an object inherit from a set of classes? |
|
Box a value |
|
Convert object to a box |
|
Create zap objects |
|
Box a final value for early termination |
|
Create vectorsAtomic vector constructors have implicit splicing (i.e. splice lists automatically), while the list constructor has explicit splicing. |
|
Create vectors |
|
Collect dots in a list |
|
Create vectors matching the length of a given vector |
|
Increasing sequence of integers in an interval |
|
Attributes |
|
Set names of a vector |
|
Get names of a vector |
|
Does an object have an element with this name? |
|
Is object named? |
|
Type predicates |
|
|
Type predicates |
|
Scalar type predicates |
|
Bare type predicates |
Is object an empty vector or NULL? |
|
Is a vector integer-like? |
|
Is object identical to TRUE or FALSE? |
|
Operators |
|
Default value for |
|
Replace missing values |
|
Infix attribute accessor and setter |
|
Function arguments |
|
Match an argument to a character vector |
|
Generate or handle a missing argument |
|
Create tidy evaluation APIsCreate data masking APIs à-la dplyr or tidyr. These functions are meant for developers rather than users. |
|
Data pronouns for tidy evaluation |
|
Evaluate an expression with quosures and pronoun support |
|
Create a data mask |
|
Condition handlers |
|
Establish handlers on the stack |
|
Session state |
|
Is R running interactively? |
|
Questioning |
|
Global options for rlang |
|
|
Change global options |
Weak references |
|
Is object a weak reference? |
|
Create a weak reference |
|
Get key/value from a weak reference object |
|
FAQ |
|
Global options for rlang |