Package: rlang 1.1.4.9000

Lionel Henry

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

A toolbox for working with base types, core R features like the condition system, and core 'Tidyverse' features like tidy evaluation.

Authors:Lionel Henry [aut, cre], Hadley Wickham [aut], mikefc [cph], Yann Collet [cph], Posit, PBC [cph, fnd]

rlang_1.1.4.9000.tar.gz
rlang_1.1.4.9000.zip(r-4.5)rlang_1.1.4.9000.zip(r-4.4)rlang_1.1.4.9000.zip(r-4.3)
rlang_1.1.4.9000.tgz(r-4.4-x86_64)rlang_1.1.4.9000.tgz(r-4.4-arm64)rlang_1.1.4.9000.tgz(r-4.3-x86_64)rlang_1.1.4.9000.tgz(r-4.3-arm64)
rlang_1.1.4.9000.tar.gz(r-4.5-noble)rlang_1.1.4.9000.tar.gz(r-4.4-noble)
rlang_1.1.4.9000.tgz(r-4.4-emscripten)rlang_1.1.4.9000.tgz(r-4.3-emscripten)
rlang.pdf |rlang.html
rlang/json (API)
NEWS

# Install 'rlang' in R:
install.packages('rlang', repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-lib/rlang/issues

On CRAN:

19.38 score 507 stars 14k packages 8.7k scripts 1.8M downloads 440 exports 0 dependencies

Last updated 18 days agofrom:38eb82d2a9. Checks:OK: 8 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-win-x86_64NOTEOct 29 2024
R-4.5-linux-x86_64OKOct 29 2024
R-4.4-win-x86_64OKOct 29 2024
R-4.4-mac-x86_64OKOct 29 2024
R-4.4-mac-aarch64OKOct 29 2024
R-4.3-win-x86_64OKOct 29 2024
R-4.3-mac-x86_64OKOct 29 2024
R-4.3-mac-aarch64OKOct 29 2024

Exports::=!!!!!.data.env%@%%@%<-%<~%%|%%||%abortare_naarg_matcharg_match0as_boxas_box_ifas_bytesas_characteras_closureas_complexas_data_maskas_data_pronounas_doubleas_environmentas_functionas_integeras_labelas_listas_logicalas_nameas_quosureas_quosuresas_stringas_utf8_characterbase_envbytescall_argscall_args_namescall_fncall_inspectcall_matchcall_modifycall_namecall_nscall_standardisecall2caller_argcaller_callcaller_envcaller_fncallingcatch_cndcheck_dots_emptycheck_dots_empty0check_dots_unnamedcheck_dots_usedcheck_exclusivecheck_installedcheck_requiredchild_envchrchr_unserialise_unicodecndcnd_bodycnd_entracecnd_footercnd_headercnd_inheritscnd_messagecnd_mufflecnd_signalcnd_typecoerce_classcoerce_typecplctxt_framecurrent_callcurrent_envcurrent_fndata_symdata_symsdbldonedots_listdots_ndots_splicedots_valuesduplicateempty_envenexprenexprsenglueenquoenquo0enquosenquos0ensymensymsentraceenvenv_bindenv_bind_activeenv_bind_lazyenv_binding_are_activeenv_binding_are_lazyenv_binding_are_lockedenv_binding_lockenv_binding_unlockenv_browseenv_buryenv_cacheenv_cloneenv_coalesceenv_depthenv_getenv_get_listenv_hasenv_inheritsenv_is_browsedenv_is_lockedenv_is_user_facingenv_labelenv_lengthenv_lockenv_nameenv_namesenv_parentenv_parentsenv_pokeenv_poke_parentenv_printenv_tailenv_unbindenv_unlockerror_callerror_cndeval_bareeval_tidyexecexitingexprexpr_deparseexpr_interpexpr_labelexpr_nameexpr_printexpr_textexprsexprs_auto_namef_envf_env<-f_labelf_lhsf_lhs<-f_namef_rhsf_rhs<-f_textffi_standalone_check_number_1.0.7ffi_standalone_is_bool_1.0.7flattenflatten_chrflatten_cplflatten_dblflatten_ifflatten_intflatten_lglflatten_rawfn_bodyfn_body<-fn_envfn_env<-fn_fmlsfn_fmls_namesfn_fmls_names<-fn_fmls_symsfn_fmls<-format_error_bulletsformat_error_callframe_callframe_fnfriendly_typeget_envget_exprglobal_entraceglobal_envglobal_frameglobal_handleglobal_prompt_installhas_lengthhas_namehashhash_filehave_nameinforminherits_allinherits_anyinherits_onlyinjectintinterruptinvokeis_atomicis_attachedis_bare_atomicis_bare_bytesis_bare_characteris_bare_complexis_bare_doubleis_bare_environmentis_bare_formulais_bare_integeris_bare_integerishis_bare_listis_bare_logicalis_bare_numericis_bare_rawis_bare_stringis_bare_vectoris_boolis_boxis_bytesis_callis_call_simpleis_callableis_characteris_chr_nais_closureis_complexis_conditionis_copyableis_cpl_nais_dbl_nais_dictionaryishis_done_boxis_doubleis_emptyis_environmentis_erroris_expressionis_falseis_formulais_functionis_installedis_int_nais_integeris_integerishis_interactiveis_lambdais_langis_lgl_nais_listis_logicalis_messageis_missingis_nais_namedis_named2is_namespaceis_nodeis_node_listis_nullis_pairlistis_primitiveis_primitive_eageris_primitive_lazyis_quosureis_quosuresis_rawis_referenceis_scalar_atomicis_scalar_bytesis_scalar_characteris_scalar_complexis_scalar_doubleis_scalar_integeris_scalar_integerishis_scalar_listis_scalar_logicalis_scalar_rawis_scalar_vectoris_scopedis_splicedis_spliced_bareis_stringis_symbolis_symbolicis_syntactic_literalis_trueis_vectoris_warningis_weakrefis_zaplanglast_errorlast_messageslast_tracelast_warningslgllist2lllocal_bindingslocal_error_calllocal_interactivelocal_optionslocal_use_clilocallymaybe_missingmessage_cndmissing_argna_chrna_cplna_dblna_intna_lglnames_inform_repairnames2names2<-new_boxnew_callnew_characternew_complexnew_data_masknew_doublenew_environmentnew_formulanew_functionnew_integernew_listnew_logicalnew_nodenew_quosurenew_quosuresnew_rawnew_weakrefnode_caarnode_cadrnode_carnode_cdarnode_cddrnode_cdrnode_poke_caarnode_poke_cadrnode_poke_carnode_poke_cdarnode_poke_cddrnode_poke_cdrnode_poke_tagnode_tagns_envns_env_namens_imports_envns_registry_envobj_addresson_loadon_package_loadpairlist2parse_bytesparse_exprparse_exprsparse_quoparse_quospeek_optionpeek_optionspkg_envpkg_env_nameprim_namepush_optionsqq_showquoquo_exprquo_get_envquo_get_exprquo_is_callquo_is_missingquo_is_nullquo_is_symbolquo_is_symbolicquo_labelquo_namequo_set_envquo_set_exprquo_squashquo_textquosquos_auto_nameraw_deparse_strrep_alongrep_namedreset_message_verbosityreset_warning_verbosityreturn_fromrun_on_loadscoped_bindingsscoped_envscoped_interactivescoped_optionssearch_envsearch_envsseq2seq2_alongset_attrsset_envset_exprset_namessignalsplicesquashsquash_chrsquash_cplsquash_dblsquash_ifsquash_intsquash_lglsquash_rawstringswitch_classswitch_typesymsymstrace_backtrace_lengthtry_fetchtype_ofunboxUQUQSvec_poke_nvec_poke_rangewarnwarning_cndwith_bindingswith_envwith_handlerswith_interactivewith_optionswref_keywref_valuezapzap_srcref

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Signal an error, warning, or messageabort inform reset_message_verbosity reset_warning_verbosity signal warn
Match an argument to a character vectorarg_match arg_match0
Documentation anchor for error argumentsargs_error_context
Convert object to a boxas_box as_box_if
Create a data maskas_data_mask as_data_pronoun new_data_mask
Coerce to an environmentas_environment
Convert to functionas_function is_lambda
Create a default name for an R objectas_label
Extract names from symbolsas_name
Cast symbol to stringas_string
Bare type predicatesbare-type-predicates is_bare_atomic is_bare_bytes is_bare_character is_bare_complex is_bare_double is_bare_integer is_bare_list is_bare_logical is_bare_numeric is_bare_raw is_bare_string is_bare_vector
Box a valuebox is_box new_box unbox
Human readable memory sizesas_bytes bytes-class parse_bytes
Extract arguments from a callcall_args call_args_names
Inspect a callcall_inspect
Match supplied arguments to function definitioncall_match
Modify the arguments of a callcall_modify
Extract function name or namespace of a callcall_name call_ns is_call_simple
Create a callcall2
Find the caller argument for error messagescaller_arg
Catch a conditioncatch_cnd
Check that dots are emptycheck_dots_empty
Check that all dots are unnamedcheck_dots_unnamed
Check that all dots have been usedcheck_dots_used
Check that arguments are mutually exclusivecheck_exclusive
Check that argument is suppliedcheck_required
Does a condition or its ancestors inherit from a class?cnd_inherits
Build an error message from partscnd_body cnd_footer cnd_header cnd_message
Signal a condition objectcnd_signal
Box a final value for early terminationdone is_done_box
'.data' and '.env' pronouns.data .env dot-data tidyeval-data
Dynamic dots features:= doc_dots_dynamic dyn-dots tidy-dots
Embrace operator {{curly-curly embrace-operator
Get the empty environmentempty_env
Defuse function arguments with glueenglue
Defuse function argumentsenquo enquos
Create a new environmentenv new_environment
Bind symbols to objects in an environment%<~% env_bind env_bind_active env_bind_lazy
Browse environmentsenv_browse env_is_browsed
Cache a value in an environmentenv_cache
Clone or coalesce an environmentenv_clone env_coalesce
Depth of an environment chainenv_depth
Get an object in an environmentenv_get env_get_list
Does an environment have or see bindings?env_has
Does environment inherit from another environment?env_inherits
Is frame environment user facing?env_is_user_facing
Label of an environmentenv_label env_name
Names and numbers of symbols bound in an environmentenv_length env_names
Get parent environmentsenv_parent env_parents env_tail
Poke an object in an environmentenv_poke
Pretty-print an environmentenv_print
Remove bindings from an environmentenv_unbind
Evaluate an expression in an environmenteval_bare
Evaluate an expression with quosures and pronoun supporteval_tidy
Execute a functionexec
Defuse an R expressionexpr
Print an expressionexpr_deparse expr_print
Ensure that all elements of a list of expressions are namedexprs_auto_name quos_auto_name
Get or set formula componentsf_env f_env<- f_lhs f_lhs<- f_rhs f_rhs<-
Turn RHS of formula into a string or labelf_label f_name f_text
Global options for rlangfaq-options
Get or set function bodyfn_body fn_body<-
Return the closure environment of a functionfn_env fn_env<-
Extract arguments from a functionfn_fmls fn_fmls<- fn_fmls_names fn_fmls_names<- fn_fmls_syms
Format bullets for error messagesformat_error_bullets
Get or set the environment of an objectenv_poke_parent get_env set_env
Entrace unexpected errorsglobal_entrace
Register default global handlersglobal_handle
Prompt user to install missing packagesglobal_prompt_install
Name injection with '"{"' and '"{{"'glue-operators
Does an object have an element with this name?has_name
Hashinghash hash_file
Does an object inherit from a set of classes?inherits_all inherits_any inherits_only
Inject objects in an R expressioninject
Injection operator !!!! bang-bang injection-operator
Is object a call?is_call
Is object an empty vector or NULL?is_empty
Is object an environment?is_bare_environment is_environment
Is an object an expression?is_expression is_symbolic is_syntactic_literal
Is object a formula?is_bare_formula is_formula
Is object a function?is_closure is_function is_primitive is_primitive_eager is_primitive_lazy
Are packages installed in any of the libraries?check_installed is_installed
Is a vector integer-like?is_bare_integerish is_integerish is_scalar_integerish
Is R running interactively?is_interactive local_interactive with_interactive
Is object named?have_name is_named is_named2
Is an object a namespace environment?is_namespace
Is object a symbol?is_symbol
Is object identical to TRUE or FALSE?is_false is_true
Is object a weak reference?is_weakref
Last 'abort()' errorlast_error last_trace
Display last messages and warningslast_messages last_warnings
Collect dynamic dots in a listdots_list list2 ll
Temporarily change bindings of an environmentlocal_bindings with_bindings
Set local error call in an execution environmentlocal_error_call
Change global optionslocal_options peek_option peek_options push_options with_options
Generate or handle a missing argumentis_missing maybe_missing missing_arg
Get names of a vectornames2 names2<-
Create a formulanew_formula
Create a functionnew_function
Create a quosure from componentsas_quosure is_quosure new_quosure
Create a list of quosuresas_quosures is_quosures new_quosures
Create a weak referencenew_weakref
Run expressions on loadon_load on_package_load run_on_load
Infix attribute accessor and setter%@% %@%<- op-get-attr
Default value for 'NULL'%||% op-null-default
Collect dynamic dots in a pairlistpairlist2
Parse R codeparse_expr parse_exprs parse_quo parse_quos
Show injected expressionqq_show
Squash a quosurequo_squash
Quosure getters, setters and predicatesquosure quosure-tools quo_get_env quo_get_expr quo_is_call quo_is_missing quo_is_null quo_is_symbol quo_is_symbolic quo_set_env quo_set_expr
Create vectors matching the length of a given vectorrep_along rep_named
Display backtrace on erroradd_backtrace rlang_backtrace_on_error rlang_backtrace_on_error_report rlang_backtrace_on_warning_report
Errors of class 'rlang_error'rlang_error
Scalar type predicatesis_bool is_scalar_atomic is_scalar_bytes is_scalar_character is_scalar_complex is_scalar_double is_scalar_integer is_scalar_list is_scalar_logical is_scalar_raw is_scalar_vector is_string scalar-type-predicates
Increasing sequence of integers in an intervalseq2 seq2_along
Set names of a vectorset_names
Splice values at dots collection timeis_spliced is_spliced_bare splice
Splice operator !!!!!! splice-operator
Get properties of the current or caller framecaller_call caller_env caller_fn current_call current_env current_fn frame_call frame_fn stack
Create a symbol or list of symbolsdata_sym data_syms sym syms
Capture a backtracetrace_back trace_length
Try an expression with condition handlerstry_fetch
Type predicatesis_atomic is_bytes is_character is_complex is_double is_integer is_list is_logical is_null is_raw is_vector type-predicates
Create vectorsbytes chr cpl dbl int lgl vector-construction
Get key/value from a weak reference objectwref_key wref_value
Create zap objectsis_zap zap
Zap source referenceszap_srcref