R: Functions for Base Types and Core R and 'Tidyverse' Features

# Functions for Base Types and Core R and 'Tidyverse' Features

## Documentation for package ‘rlang’ version 0.4.3

- DESCRIPTION file.

## Help Pages

A B C D E F G H I L M N O P Q R S T U V W Z misc

## -- A --

abort | Signal an error, warning, or message
add_backtrace | Display backtrace on error
arg_match | Match an argument to a character vector
as_box | Convert object to a box
as_box_if | Convert object to a box
as_closure | Convert to function or closure
as_data_mask | Create a data mask
as_data_pronoun | Create a data mask
as_environment | Coerce to an environment
as_function | Convert to function or closure
as_label | Create a default name for an R object
as_name | Extract names from symbols
as_quosure | Coerce object to quosure
as_quosures | Create a list of quosures
as_string | Cast symbol to string

## -- B --

bare-type-predicates | Bare type predicates
box | Box a value
bytes | Create vectors

## -- C --

call2 | Create a call
caller_env | Get the current or caller environment
calling | Establish handlers on the stack
call_args | Extract arguments from a call
call_args_names | Extract arguments from a call
call_fn | Extract function from a call
call_inspect | Inspect a call
call_modify | Modify the arguments of a call
call_name | Extract function name or namespaced of a call
call_ns | Extract function name or namespaced of a call
call_standardise | Standardise a call
catch_cnd | Catch a condition
child_env | Create a new environment
chr | Create vectors
cnd_body | Build an error message from parts
cnd_entrace | Add backtrace from error handler
cnd_footer | Build an error message from parts
cnd_header | Build an error message from parts
cnd_message | Build an error message from parts
cnd_signal | Signal a condition object
cpl | Create vectors
current_env | Get the current or caller environment

## -- D --

dbl | Create vectors
done | Box a final value for early termination
dots_list | Collect dots in a list
dyn-dots | Dynamic dots

## -- E --

empty_env | Get the empty environment
enexpr | Defuse R expressions
enexprs | Defuse R expressions
enquo | Defuse R expressions
enquos | Defuse R expressions
ensym | Defuse R expressions
ensyms | Defuse R expressions
entrace | Add backtrace from error handler
env | Create a new environment
env_bind | Bind symbols to objects in an environment
env_bind_active | Bind symbols to objects in an environment
env_bind_lazy | Bind symbols to objects in an environment
env_clone | Clone an environment
env_depth | Depth of an environment chain
env_get | Get an object in an environment
env_get_list | Get an object in an environment
env_has | Does an environment have or see bindings?
env_inherits | Does environment inherit from another environment?
env_label | Label of an environment
env_length | Names and numbers of symbols bound in an environment
env_name | Label of an environment
env_names | Names and numbers of symbols bound in an environment
env_parent | Get parent environments
env_parents | Get parent environments
env_poke_parent | Get or set the environment of an object
env_print | Pretty-print an environment
env_tail | Get parent environments
env_unbind | Remove bindings from an environment
eval_bare | Evaluate an expression in an environment
eval_tidy | Evaluate an expression with quosures and pronoun support
exec | Execute a function
expr | Defuse R expressions
exprs | Defuse R expressions
exprs_auto_name | Ensure that all elements of a list of expressions are named
expr_deparse | Print an expression
expr_interp | Process unquote operators in a captured expression
expr_label | Turn an expression to a label
expr_name | Turn an expression to a label
expr_print | Print an expression
expr_text | Turn an expression to a label

## -- F --

fn_body | Get or set function body
fn_body<- | Get or set function body
fn_env | Return the closure environment of a function
fn_env<- | Return the closure environment of a function
fn_fmls | Extract arguments from a function
fn_fmls<- | Extract arguments from a function
fn_fmls_names | Extract arguments from a function
fn_fmls_names<- | Extract arguments from a function
fn_fmls_syms | Extract arguments from a function
format_error_bullets | Format bullets for error messages
f_env | Get or set formula components
f_env<- | Get or set formula components
f_label | Turn RHS of formula into a string or label
f_lhs | Get or set formula components
f_lhs<- | Get or set formula components
f_name | Turn RHS of formula into a string or label
f_rhs | Get or set formula components
f_rhs<- | Get or set formula components
f_text | Turn RHS of formula into a string or label

## -- G --

get_env | Get or set the environment of an object
get_expr | Set and get an expression

## -- H --

has_name | Does an object have an element with this name?
have_name | Is object named?

## -- I --

inform | Signal an error, warning, or message
inherits_all | Does an object inherit from a set of classes?
inherits_any | Does an object inherit from a set of classes?
inherits_only | Does an object inherit from a set of classes?
int | Create vectors
interrupt | Signal an error, warning, or message
is_atomic | Type predicates
is_bare_atomic | Bare type predicates
is_bare_bytes | Bare type predicates
is_bare_character | Bare type predicates
is_bare_double | Bare type predicates
is_bare_environment | Is object an environment?
is_bare_formula | Is object a formula?
is_bare_integer | Bare type predicates
is_bare_integerish | Is a vector integer-like?
is_bare_list | Bare type predicates
is_bare_logical | Bare type predicates
is_bare_numeric | Bare type predicates
is_bare_raw | Bare type predicates
is_bare_string | Bare type predicates
is_bare_vector | Bare type predicates
is_bool | Scalar type predicates
is_box | Box a value
is_bytes | Type predicates
is_call | Is object a call?
is_character | Type predicates
is_closure | Is object a function?
is_dictionaryish | Is object named?
is_done_box | Box a final value for early termination
is_double | Type predicates
is_empty | Is object an empty vector or NULL?
is_environment | Is object an environment?
is_expression | Is an object an expression?
is_false | Is object identical to TRUE or FALSE?
is_formula | Is object a formula?
is_function | Is object a function?
is_installed | Is a package installed in the library?
is_integer | Type predicates
is_integerish | Is a vector integer-like?
is_interactive | Is R running interactively?
is_lambda | Convert to function or closure
is_list | Type predicates
is_logical | Type predicates
is_missing | Generate or handle a missing argument
is_named | Is object named?
is_namespace | Is an object a namespace environment?
is_null | Type predicates
is_primitive | Is object a function?
is_primitive_eager | Is object a function?
is_primitive_lazy | Is object a function?
is_quosure | Quosure getters, setters and testers
is_quosures | Create a list of quosures
is_raw | Type predicates
is_scalar_atomic | Scalar type predicates
is_scalar_bytes | Scalar type predicates
is_scalar_character | Scalar type predicates
is_scalar_double | Scalar type predicates
is_scalar_integer | Scalar type predicates
is_scalar_integerish | Is a vector integer-like?
is_scalar_list | Scalar type predicates
is_scalar_logical | Scalar type predicates
is_scalar_raw | Scalar type predicates
is_scalar_vector | Scalar type predicates
is_string | Scalar type predicates
is_symbol | Is object a symbol?
is_symbolic | Is an object an expression?
is_syntactic_literal | Is an object an expression?
is_true | Is object identical to TRUE or FALSE?
is_vector | Type predicates
is_weakref | Is object a weak reference?
is_zap | Create zap objects

## -- L --

last_error | Last 'abort()' error
last_trace | Last 'abort()' error
lgl | Create vectors
list2 | Collect dots in a list
ll | Collect dots in a list
local_bindings | Temporarily change bindings of an environment
local_interactive | Is R running interactively?
local_options | Change global options

## -- M --

maybe_missing | Generate or handle a missing argument
missing_arg | Generate or handle a missing argument

## -- N --

names2 | Get names of a vector
new_box | Box a value
new_data_mask | Create a data mask
new_environment | Create a new environment
new_formula | Create a formula
new_function | Create a function
new_quosure | Coerce object to quosure
new_quosures | Create a list of quosures
new_weakref | Create a weak reference
nse-defuse | Defuse R expressions
nse-force | Force parts of an expression

## -- O --

op-get-attr | Infix attribute accessor and setter
op-na-default | Replace missing values
op-null-default | Default value for 'NULL'

## -- P --

pairlist2 | Create pairlists with splicing support
parse_expr | Parse R code
parse_exprs | Parse R code
parse_quo | Parse R code
parse_quos | Parse R code
peek_option | Change global options
peek_options | Change global options
push_options | Change global options

## -- Q --

qq_show | Force parts of an expression
quasiquotation | Force parts of an expression
quo | Defuse R expressions
quos | Defuse R expressions
quosure | Quosure getters, setters and testers
quos_auto_name | Ensure that all elements of a list of expressions are named
quotation | Defuse R expressions
quo_get_env | Quosure getters, setters and testers
quo_get_expr | Quosure getters, setters and testers
quo_is_call | Quosure getters, setters and testers
quo_is_missing | Quosure getters, setters and testers
quo_is_null | Quosure getters, setters and testers
quo_is_symbol | Quosure getters, setters and testers
quo_is_symbolic | Quosure getters, setters and testers
quo_label | Format quosures for printing or labelling
quo_name | Format quosures for printing or labelling
quo_set_env | Quosure getters, setters and testers
quo_set_expr | Quosure getters, setters and testers
quo_squash | Squash a quosure
quo_text | Format quosures for printing or labelling

## -- R --

rep_along | Create vectors matching the length of a given vector
rep_named | Create vectors matching the length of a given vector
rlang_backtrace_on_error | Display backtrace on error

## -- S --

scalar-type-predicates | Scalar type predicates
scoped_bindings | Questioning 'scoped_' functions
scoped_interactive | Questioning 'scoped_' functions
scoped_options | Questioning 'scoped_' functions
seq2 | Increasing sequence of integers in an interval
seq2_along | Increasing sequence of integers in an interval
set_env | Get or set the environment of an object
set_expr | Set and get an expression
set_names | Set names of a vector
signal | Signal an error, warning, or message
sym | Create a symbol or list of symbols
syms | Create a symbol or list of symbols

## -- T --

tidy-dots | Dynamic dots
tidyeval-data | Data pronouns for tidy evaluation
trace_back | Capture a backtrace
trace_length | Capture a backtrace
type-predicates | Type predicates

## -- U --

unbox | Box a value
UQ | Force parts of an expression
UQS | Force parts of an expression

## -- V --

vector-construction | Create vectors

## -- W --

warn | Signal an error, warning, or message
with_abort | Promote all errors to rlang errors
with_bindings | Temporarily change bindings of an environment
with_handlers | Establish handlers on the stack
with_interactive | Is R running interactively?
with_options | Change global options
wref_key | Get key/value from a weak reference object
wref_value | Get key/value from a weak reference object

## -- Z --

zap | Create zap objects

## -- misc --

!! | Force parts of an expression
!!! | Force parts of an expression
%@% | Infix attribute accessor and setter
%@%<- | Infix attribute accessor and setter
%|% | Replace missing values
%||% | Default value for 'NULL'
.data | Data pronouns for tidy evaluation
.env | Data pronouns for tidy evaluation
:= | Force parts of an expression
{{ | Force parts of an expression
{{}} | Force parts of an expression