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


[Up] [Top]

Documentation for package ‘rlang’ version 0.2.2

Help Pages

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

-- A --

abort Signal an error, warning, or message
are_na Test for missing values
arg_match Match an argument to a character vector
as_box Box a value
as_box_if Box a value
as_character Coerce an object to a base type
as_closure Convert to function or closure
as_complex Coerce an object to a base type
as_data_mask Create a data mask
as_data_pronoun Create a data mask
as_double Coerce an object to a base type
as_environment Coerce to an environment
as_function Convert to function or closure
as_integer Coerce an object to a base type
as_list Coerce an object to a base type
as_logical Coerce an object to a base type
as_native_character Coerce to a character vector and attempt encoding conversion
as_native_string Coerce to a character vector and attempt encoding conversion
as_quosure Coerce object to quosure
as_string Coerce an object to a base type
as_utf8_character Coerce to a character vector and attempt encoding conversion
as_utf8_string 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 environment of the caller frame
caller_fn Get the environment of the caller frame
caller_frame Get the environment of the caller frame
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 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_abort Signal a condition
cnd_inform Signal a condition
cnd_signal Signal a condition
cnd_warn Signal a condition
cpl Create vectors

-- D --

dbl Create vectors
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
env Create a new environment
env_bind 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_names Names 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_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
exiting Create an exiting or in place handler
expr Quotation
exprs Quotation
exprs_auto_name Ensure that list of expressions are all 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 --

flatten Flatten or squash a list of lists into a simpler vector
flatten_chr Flatten or squash a list of lists into a simpler vector
flatten_cpl Flatten or squash a list of lists into a simpler vector
flatten_dbl Flatten or squash a list of lists into a simpler vector
flatten_if Flatten or squash a list of lists into a simpler vector
flatten_int Flatten or squash a list of lists into a simpler vector
flatten_lgl Flatten or squash a list of lists into a simpler vector
flatten_raw Flatten or squash a list of lists into a simpler vector
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?
inplace Create an exiting or in place handler
int Create vectors
invoke Invoke a function with a list of arguments
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_env 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_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_double Type predicates
is_empty Is object an empty vector or NULL?
is_env 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_frame Is object a frame?
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_int_na Test for missing values
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 Quosure getters, setters and testers
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

-- L --

lang_head Return the head or tail of a call
lang_tail Return the head or tail of a call
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 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_raw Create vectors matching a given length
new_raw_along Create vectors matching the length of a given vector

-- O --

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

-- P --

parse_expr Parse R code
parse_exprs Parse R code
parse_quo Parse R code
parse_quos Parse R code
parse_quosures 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 list of expressions are all 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
restarting Create a restarting handler
return_from Jump to or from a frame
return_to Jump to or from a frame
rst_abort Jump to the abort restart
rst_exists Restarts utilities
rst_jump Restarts utilities
rst_list Restarts utilities
rst_maybe_jump Restarts utilities
rst_muffle Jump to a muffling restart

-- S --

scalar-type-predicates Scalar type predicates
scoped_bindings Temporarily change bindings of an environment
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
squash Flatten or squash a list of lists into a simpler vector
squash_chr Flatten or squash a list of lists into a simpler vector
squash_cpl Flatten or squash a list of lists into a simpler vector
squash_dbl Flatten or squash a list of lists into a simpler vector
squash_if Flatten or squash a list of lists into a simpler vector
squash_int Flatten or squash a list of lists into a simpler vector
squash_lgl Flatten or squash a list of lists into a simpler vector
squash_raw Flatten or squash a list of lists into a simpler vector
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
type-predicates Type predicates

-- U --

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

-- V --

vector-coercion Coerce an object to a base type
vector-construction Create vectors

-- W --

warn Signal an error, warning, or message
warning_cnd Create a condition object
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_options Change global options
with_restarts Establish a restart point on the stack

-- misc --

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