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


[Up] [Top]

Documentation for package ‘rlang’ version 0.4.0

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
are_na Test for missing values
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
as_utf8_character Coerce to a character vector and attempt encoding conversion

-- 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
caller_fn Get properties of the current or caller frame
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 Create a condition object
cnd_muffle Muffle a condition
cnd_signal Signal a condition object
cnd_type What type is a condition?
cpl Create vectors
current_env Get the current or caller environment
current_fn Get properties of the current or caller frame

-- D --

dbl Create vectors
done Box a final value for early termination
dots_list Collect dots tidily
dots_n How many arguments are currently forwarded in dots?
dots_values Evaluate dots with preliminary splicing

-- E --

empty_env Get the empty environment
enexpr Quotation
enexprs Quotation
enquo Quotation
enquos Quotation
ensym Quotation
ensyms Quotation
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_bury Mask bindings by defining symbols deeper in a scope
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_is_locked Lock an environment
env_label Label of an environment
env_length Names and numbers of symbols bound in an environment
env_lock Lock 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
error_cnd Create a condition object
eval_bare Evaluate an expression in an environment
eval_tidy Evaluate an expression with quosures and pronoun support
exec Execute a function
expr Quotation
exprs Quotation
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
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_length How long is an object?
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_callable Is an object callable?
is_call_stack Is object a stack?
is_character Type predicates
is_chr_na Test for missing values
is_closure Is object a function?
is_condition Is object a condition?
is_copyable Is an object copyable?
is_cpl_na Test for missing values
is_dbl_na Test for missing values
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_eval_stack Is object a stack?
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_int_na Test for missing values
is_lambda Convert to function or closure
is_lgl_na Test for missing values
is_list Type predicates
is_logical Type predicates
is_missing Generate or handle a missing argument
is_na Test for missing values
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_reference Is an object referencing another?
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_stack Is object a stack?
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 --

lang_head Return the head or tail of a call
lang_tail Return the head or tail of a call
last_error Last 'abort()' error
last_trace Last 'abort()' error
lgl Create vectors
lifecycle Life cycle of the rlang package
list2 Collect dots tidily
ll Create vectors
locally Evaluate an expression within a given environment

-- M --

maybe_missing Generate or handle a missing argument
message_cnd Create a condition object
missing Missing values
missing_arg Generate or handle a missing argument

-- N --

names2 Get names of a vector
na_chr Missing values
na_cpl Missing values
na_dbl Missing values
na_int Missing values
na_lgl Missing values
new-vector Create vectors matching a given length
new-vector-along-retired Create vectors matching the length of a given vector
new_box Box a value
new_character Create vectors matching a given length
new_character_along Create vectors matching the length of a given vector
new_complex Create vectors matching a given length
new_complex_along Create vectors matching the length of a given vector
new_data_mask Create a data mask
new_double Create vectors matching a given length
new_double_along Create vectors matching the length of a given vector
new_environment Create a new environment
new_formula Create a formula
new_function Create a function
new_integer Create vectors matching a given length
new_integer_along Create vectors matching the length of a given vector
new_list Create vectors matching a given length
new_list_along Create vectors matching the length of a given vector
new_logical Create vectors matching a given length
new_logical_along Create vectors matching the length of a given vector
new_quosure Coerce object to quosure
new_quosures Create a list of quosures
new_raw Create vectors matching a given length
new_raw_along Create vectors matching the length of a given vector
new_weakref Create a weak reference

-- 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
prim_name Name of a primitive function
push_options Change global options

-- Q --

qq_show Quasiquotation of an expression
quasiquotation Quasiquotation of an expression
quo Quotation
quos Quotation
quosure Quosure getters, setters and testers
quos_auto_name Ensure that all elements of a list of expressions are named
quotation Quotation
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
restarting Create a restarting handler
return_from Jump to or from a frame
return_to Jump to or from a frame
rlang_backtrace_on_error Display backtrace on error
rst_abort Jump to the abort restart
rst_exists Restarts utilities
rst_jump Restarts utilities
rst_list Restarts utilities
rst_maybe_jump Restarts utilities

-- S --

scalar-type-predicates Scalar type predicates
scoped_bindings Temporarily change bindings of an environment
scoped_interactive Is R running interactively?
scoped_options Change global options
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
string Create a string
sym Create a symbol or list of symbols
syms Create a symbol or list of symbols

-- T --

tidy-dots Collect dots tidily
tidyeval-data Data pronoun for tidy evaluation
trace_back Capture a backtrace
type-predicates Type predicates

-- U --

unbox Box a value
UQ Quasiquotation of an expression
UQS Quasiquotation of an expression

-- V --

vector-construction Create vectors

-- W --

warn Signal an error, warning, or message
warning_cnd Create a condition object
with_abort Promote all errors to rlang errors
with_bindings Temporarily change bindings of an environment
with_env Evaluate an expression within a given environment
with_handlers Establish handlers on the stack
with_interactive Is R running interactively?
with_options Change global options
with_restarts Establish a restart point on the stack
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 --

!! Quasiquotation of an expression
!!! Quasiquotation of an expression
%@% Infix attribute accessor and setter
%@%<- Infix attribute accessor and setter
%|% Replace missing values
%||% Default value for 'NULL'
.data Data pronoun for tidy evaluation
:= Quasiquotation of an expression