rlang
1.3.0Functions for Base Types and Core R and 'Tidyverse' Features
Overview
A toolbox for working with base types, core R features like the condition system, and core 'Tidyverse' features like tidy evaluation.
hash()now uses its own walking strategy to make it independent of pecularities of the R serialiser. This fixes stability issues with function bytecode and shrinkable vectors on R 4.6.0 (#1681). This does mean that with this version all hash values will now be different. In general we gain stability across versions of R, but may lose some stability across versions of rlang. We'll try and avoid changes to our hash algorithm for the sake of stability but you should assume it's always possible for a new version to invalidate existing hashes.- Fixed
env_get()issue causing double evaluation of active bindings on older R versions <= 4.4 (#1893).
From NEWS.md in the release
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Base package in Suggests/Enhances imported in NAMESPACE: ‘stats’
r-devel-windows-x86_64
Base package in Suggests/Enhances imported in NAMESPACE: 'stats'
NOTEcompiled coder-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
r-oldrel-macos-arm64, r-oldrel-macos-x86_64
File ‘rlang/libs/rlang.so’:
Found non-API calls to R: ‘PRENV’, ‘PRVALUE’, ‘R_PromiseExpr’,
‘Rf_allocSExp’, ‘Rf_findVarInFrame3’, ‘SETLENGTH’,
‘SET_GROWABLE_BIT’, ‘SET_PRCODE’, ‘SET_PRENV’, ‘SET_PRVALUE’,
‘SET_TRUELENGTH’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.r-oldrel-windows-x86_64
File 'rlang/libs/x64/rlang.dll':
Found non-API calls to R: 'PRENV', 'PRVALUE', 'R_PromiseExpr',
'Rf_allocSExp', 'Rf_findVarInFrame3', 'SETLENGTH',
'SET_GROWABLE_BIT', 'SET_PRCODE', 'SET_PRENV', 'SET_PRVALUE',
'SET_TRUELENGTH'
Compiled code should not call non-API entry points in R.
See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘args_error_context.Rd’ ‘caller_arg.Rd’ ‘expr.Rd’ ‘qq_show.Rd’ \arguments should not be documented without \usage.
- NOTE5 OK, 8 NOTE2026-10-17
- ERROR4 OK, 7 NOTE, 1 WARNING, 1 ERROR2026-10-15
- WARNING4 OK, 8 NOTE, 1 WARNING2026-10-01
- NOTE5 OK, 8 NOTE2026-09-25
- ERROR5 OK, 7 NOTE, 1 ERROR2026-09-18
Show 29 earlier changesHide 29 earlier changes
- NOTE7 OK, 6 NOTE2026-09-12
- ERROR6 OK, 5 NOTE, 1 WARNING, 1 ERROR2026-08-20
- WARNING7 OK, 5 NOTE, 1 WARNING2026-08-17
- NOTE8 OK, 5 NOTE2026-08-12
- ERROR8 OK, 4 NOTE, 1 ERROR2026-08-09
- NOTE10 OK, 3 NOTE2026-07-04
- ERROR9 OK, 3 NOTE, 1 ERROR2026-06-24
- NOTE10 OK, 3 NOTE2026-06-19
- WARNING10 OK, 2 NOTE, 1 WARNING2026-06-17
- NOTE10 OK, 3 NOTE2026-06-15
- ERROR9 OK, 3 NOTE, 1 ERROR2026-06-13
- NOTE10 OK, 3 NOTE2026-06-09
- ERROR9 OK, 3 NOTE, 1 ERROR2026-06-07
- NOTE10 OK, 3 NOTE2026-05-24
- ERROR9 OK, 2 NOTE, 2 ERROR2026-05-14
- NOTE10 OK, 3 NOTE2026-05-11
- ERROR9 OK, 3 NOTE, 1 ERROR2026-05-10
- NOTE10 OK, 3 NOTE2026-05-08
- ERROR8 OK, 3 NOTE, 2 ERROR2026-05-04
- NOTE9 OK, 4 NOTE2026-04-30
- ERROR8 OK, 4 NOTE, 1 ERROR2026-04-28
- NOTE10 OK, 4 NOTE2026-04-24
- ERROR9 OK, 4 NOTE, 1 ERROR2026-04-16
- NOTE10 OK, 4 NOTE2026-04-11
- WARNING9 OK, 4 NOTE, 1 WARNING2026-04-09
- ERROR4 OK, 5 NOTE, 4 WARNING, 1 ERROR2026-03-28
- WARNING4 OK, 5 NOTE, 5 WARNING2026-03-25
- ERROR3 OK, 5 NOTE, 5 WARNING, 1 ERROR2026-03-22
- WARNING4 OK, 5 NOTE, 5 WARNING2026-03-10
Documentation
- Help pages
- 222 (90 internal)includes a package overview page
- Examples that run
- 99%129 run in a plain check (1 of them under a condition) · 1 hold no code
- Exported functions with examples
- 66%
- Documented parameters
- 90%
- Return-value docs
- 28%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 89%
- Median days to close, 50 most recently updated closed issues
- 18
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
14 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/r-lib/rlang on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-06 · The repository has a site deploy workflow
pkgdown site last built 2026-08-05
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-01-26Pull request: opened by its own accountCommits: 1 by its own account
- Claude Codefirst seen 2026-03-30Seen in the repository: .claudeNamed in .Rbuildignore: .claude
Dependencies
Installing rlang adds no packages beyond those that come with R.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 3,932 more dependents and 177 packages that suggest it on CRAN ↗
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.3.0Latest
- RR 4.6.0 released · 2026-04-24
- 1.2.02026-04-06 · diff ↗ ·
added 6 exports
check_bool, check_data_frame, check_number_decimal, check_number_whole, check_string, stop_input_type - 1.1.7
- 1.1.62025-04-11 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.1.52025-01-17 · diff ↗
- 1.1.42024-06-04 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.1.32024-01-10 · diff ↗
- 1.1.22023-11-04 · diff ↗
- 1.1.12023-04-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.1.02023-03-14 · diff ↗ ·
removed 2 exports
int_along, lgl_alongadded 3 exports
env_is_user_facing, ffi_standalone_check_number_1.0.7, ffi_standalone_is_bool_1.0.7 - 1.0.6
- 1.0.52022-08-31 · diff ↗
Show 38 earlier eventsHide 38 earlier events
- 1.0.42022-07-12 · diff ↗
- 1.0.32022-06-27 · diff ↗ ·
added 4 exports
env_coalesce, ns_registry_env, reset_message_verbosity, reset_warning_verbosity - RR 4.2.0 released · 2022-04-22
- 1.0.22022-03-04 · diff ↗
- 1.0.12022-02-03 · diff ↗
- 1.0.02022-01-26 · diff ↗ ·
removed 86 exports
as_env, as_overscope, as_pairlist, bytes_along, bytes_len, call_depth, call_frame, call_parse_type, call_stack, caller_frame, chr_along, chr_len, cpl_along, cpl_len, ctxt_depth, ctxt_stack, current_frame, dbl_along, dbl_len, dots_definitions, env_bind_exprs, env_bind_fns, frame_position, int_len, is_bare_env, is_binary_lang, is_call_stack, is_definition, is_env, is_eval_stack and 56 moreadded 42 exports
names2<-, call_match, caller_arg, caller_call, check_dots_empty, check_dots_empty0, check_dots_unnamed, check_dots_used, check_exclusive, check_required, cnd_inherits, current_call, data_sym, data_syms, englue, env_cache, format_error_call, frame_call, frame_fn, global_entrace, global_handle, global_prompt_install, hash_file, is_bare_complex, is_call_simple, is_complex, is_error, is_message, is_named2, is_scalar_complex and 12 more - 0.4.122021-10-19 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.4.112021-05-01 · diff ↗
- 0.4.10
- 0.4.92020-11-26 · diff ↗ ·
added 7 exports
%<~%, enquo0, enquos0, env_browse, env_is_browsed, inject, zap_srcref - 0.4.82020-10-08 · diff ↗
- 0.4.7
- 0.4.62020-05-02 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.4.52020-03-01 · diff ↗
- 0.4.42020-01-28 · diff ↗
- 0.4.3
- 0.4.22019-11-23 · diff ↗ ·
removed 3 exports
cnd_bullets, cnd_issue, format_bulletsadded 7 exports
cnd_body, cnd_footer, cnd_header, format_error_bullets, local_bindings, local_interactive, local_options - 0.4.12019-10-24 · diff ↗ ·
added 6 exports
cnd_bullets, cnd_entrace, cnd_issue, cnd_message, format_bullets, trace_length - 0.4.02019-06-25 · diff ↗ ·
removed 19 exports
UQE, as_dictionary, as_native_character, as_native_string, as_quosureish, as_utf8_string, chr_encoding, coerce_lang, eval_tidy_, is_dictionary, is_quosureish, lang_type_of, mut_latin1_locale, mut_mbcs_locale, mut_utf8_locale, set_chr_encoding, set_str_encoding, str_encoding, switch_langadded 6 exports
is_bool, is_weakref, new_weakref, pairlist2, wref_key, wref_value - RR 3.6.0 released · 2019-04-26
- 0.3.42019-04-07 · diff ↗
- 0.3.32019-03-29 · diff ↗
- 0.3.22019-03-21 · diff ↗
- 0.3.12019-01-08 · diff ↗ ·
added 10 exports
as_label, as_name, call_ns, done, entrace, is_done_box, is_interactive, last_trace, scoped_interactive, with_interactive - 0.3.0.12018-10-25 · diff ↗
- 0.3.02018-10-22 · diff ↗ ·
removed 9 exports
cnd_abort, cnd_error, cnd_inform, cnd_message, cnd_warn, cnd_warning, inplace, new_cnd, rst_muffleadded 37 exports
%@%<-, as_quosures, calling, cnd_muffle, cnd_type, current_env, current_fn, env_bind_active, env_bind_lazy, env_binding_are_active, env_binding_are_lazy, env_binding_are_locked, env_binding_lock, env_binding_unlock, env_is_locked, env_label, env_length, env_lock, env_name, env_print, env_unlock, exec, interrupt, is_attached, is_bare_environment, is_environment, is_lambda, is_zap, last_error, new_quosures and 7 more - 0.2.22018-08-16 · diff ↗
- 0.2.12018-05-30 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.2.02018-02-20 · diff ↗ ·
added 87 exports
fn_body<-, fn_fmls<-, fn_fmls_names<-, as_box, as_box_if, as_data_mask, as_data_pronoun, as_environment, call2, call_args, call_args_names, call_fn, call_modify, call_name, call_standardise, catch_cnd, chr_unserialise_unicode, cnd, cnd_inform, cnd_warn, enexprs, enquos, ensym, ensyms, env_get_list, env_poke, env_poke_parent, error_cnd, expr_deparse, expr_print and 57 more - 0.1.6
- 0.1.42017-11-05 · diff ↗
- 0.1.22017-08-09 · diff ↗
- 0.1.1
- 0.12017-05-06
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-05-06
- Total releases
- 44 / 9 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-3 in 0.4.10
- Minimum R
- ≥ 4.0.0
- Download size
- 766 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rlang")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.