Skip to content

rlang

1.3.0

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

3,980packages dependsuggested by 177
29.3Mdownloads / year
84.8%test coverage
5/13flavors OK

Overview

About
Maintained by Lionel HenryCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: Posit, PBC

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

Changes in 1.3.0
  • 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

CRAN checks
8NOTE5OK
Check messages
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.

CRAN check page ↗

Slowest check: 5.7 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.3.0
READMEYes · 298 wordsVignettesNoNEWSYes · 100% structured · mentions 1.3.0Citation fileNoWebsiteYes · pkgdown
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

29.3M
CRAN downloads in the past year
Rank #1 · ~80.2K/day · ~2.4M/mo
Daily download trend is not available in this view yet.
2.5M30 days
7.5M90 days
29.3M1 year
Compare downloads with other packages →
Also on389.7K r2u1.8K autocran2.6M conda_forge25.4K c2d4u

Repository

r-lib/rlang ↗Organization: r-lib
591Stars
156Forks
135Open issues
21Open PRs
42Releases
6,001Commits
97Commit identities
r
6,001 commits · Last activity 2026-10-06 · +0.9% stars, 30d · Default branch at 1.3.0.9000, ahead of CRAN 1.3.0 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-09-21 · 5332026-10-15 · 591
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductCODEOWNERS
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-06 · The repository has a site deploy workflow

pkgdown site last built 2026-08-05

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (2)
AirRStudio project
Git structural (1)
blame-ignore revs
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-01-26
    Pull request: opened by its own account
    Commits: 1 by its own account
  • Claude Codefirst seen 2026-03-30
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing rlang adds no packages beyond those that come with R.

Depends (1)
R >= 4.0.0
Imports (1)
utils
LinkingTo (0)
none
Enhances (0)
none

People & History

People (5)
Author, Maintainer since 0.1 (2017)
Copyright holder, Funder · added in 1.1.0
Copyright holder · added in 0.4.10
Hash implementation based on Mike's xxhashlite
Copyright holder · added in 0.4.10
Author of the embedded xxHash library
Listed in earlier versions (1)
RStudio
no longer listed · 0.1 to 1.0.6
Releases (44)

Pick two releases to compare their code metrics.

  • 1.3.0Latest
    record
    2026-07-05 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0
    record
    2026-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
    record
    2026-01-09 · diff ↗ ·
    added 1 export
    %&&%
  • 1.1.6
    record
    2025-04-11 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.5
    record
    2025-01-17 · diff ↗
  • 1.1.4
    record
    2024-06-04 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.3
    record
    2024-01-10 · diff ↗
  • 1.1.2
    record
    2023-11-04 · diff ↗
  • 1.1.1
    record
    2023-04-29 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.0
    record
    2023-03-14 · diff ↗ ·
    removed 2 exports
    int_along, lgl_along
    added 3 exports
    env_is_user_facing, ffi_standalone_check_number_1.0.7, ffi_standalone_is_bool_1.0.7
  • 1.0.6
    record
    2022-09-24 · diff ↗ ·
    added 1 export
    error_call
  • 1.0.5
    record
    2022-08-31 · diff ↗
Show 38 earlier eventsHide 38 earlier events
  • 1.0.4
    record
    2022-07-12 · diff ↗
  • 1.0.3
    record
    2022-06-27 · diff ↗ ·
    added 4 exports
    env_coalesce, ns_registry_env, reset_message_verbosity, reset_warning_verbosity
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.2
    record
    2022-03-04 · diff ↗
  • 1.0.1
    record
    2022-02-03 · diff ↗
  • 1.0.0
    record
    2022-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 more
    added 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.12
    record
    2021-10-19 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.11
    record
    2021-05-01 · diff ↗
  • 0.4.10
    record
    2020-12-30 · diff ↗ ·
    added 2 exports
    check_installed, hash
  • 0.4.9
    record
    2020-11-26 · diff ↗ ·
    added 7 exports
    %<~%, enquo0, enquos0, env_browse, env_is_browsed, inject, zap_srcref
  • 0.4.8
    record
    2020-10-08 · diff ↗
  • 0.4.7
    record
    2020-07-10 · diff ↗ ·
    added 3 exports
    arg_match0, call_parse_type, raw_deparse_str
  • 0.4.6
    record
    2020-05-02 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.5
    record
    2020-03-01 · diff ↗
  • 0.4.4
    record
    2020-01-28 · diff ↗
  • 0.4.3
    record
    2020-01-24 · diff ↗ ·
    added 1 export
    .env
  • 0.4.2
    record
    2019-11-23 · diff ↗ ·
    removed 3 exports
    cnd_bullets, cnd_issue, format_bullets
    added 7 exports
    cnd_body, cnd_footer, cnd_header, format_error_bullets, local_bindings, local_interactive, local_options
  • 0.4.1
    record
    2019-10-24 · diff ↗ ·
    added 6 exports
    cnd_bullets, cnd_entrace, cnd_issue, cnd_message, format_bullets, trace_length
  • 0.4.0
    record
    2019-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_lang
    added 6 exports
    is_bool, is_weakref, new_weakref, pairlist2, wref_key, wref_value
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.4
    record
    2019-04-07 · diff ↗
  • 0.3.3
    record
    2019-03-29 · diff ↗
  • 0.3.2
    record
    2019-03-21 · diff ↗
  • 0.3.1
    record
    2019-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.1
    record
    2018-10-25 · diff ↗
  • 0.3.0
    record
    2018-10-22 · diff ↗ ·
    removed 9 exports
    cnd_abort, cnd_error, cnd_inform, cnd_message, cnd_warn, cnd_warning, inplace, new_cnd, rst_muffle
    added 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.2
    record
    2018-08-16 · diff ↗
  • 0.2.1
    record
    2018-05-30 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.0
    record
    2018-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
    record
    2017-12-21 · diff ↗ ·
    added 1 export
    is_reference
  • 0.1.4
    record
    2017-11-05 · diff ↗
  • 0.1.2
    record
    2017-08-09 · diff ↗
  • 0.1.1
    record
    2017-05-18 · diff ↗ ·
    added 3 exports
    is_node, new_environment, new_language
  • 0.1
    record
    2017-05-06
  • R
    R 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")
Henry, L., Posit, PBC, mikefc, Collet, Y., & Wickham, H. (2026). rlang: Functions for Base Types and Core R and 'Tidyverse' Features (Version 1.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rlang version 1.3.0 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy