Visualize R Data Structures with Trees
Overview
A set of tools for inspecting and understanding R data structures inspired by str(). Includes ast() for visualizing abstract syntax trees, ref() for showing shared references, cst() for showing call stack trees, and obj_size() for computing object sizes.
- Fixes for CRAN checks.
From NEWS.md in the release
Install
Health
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 ‘lobstr/libs/lobstr.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 'lobstr/libs/x64/lobstr.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.- NOTE10 OK, 3 NOTENow
- NOTE10 OK, 4 NOTE2026-04-09
- WARNING3 OK, 10 NOTE, 1 WARNING2026-03-17
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 11 (1 internal)includes a package overview page
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 80%
- Documented parameters
- 100%
- Return-value docs
- 30%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 34
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
15 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-lib/lobstr on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-01 · The repository has a site deploy workflow
pkgdown site last built 2026-09-01
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-11-13Seen in the repository: .claude, .claude/skillsNamed in .Rbuildignore: .claude
Dependencies
Installing lobstr adds 4 packages (1 with compiled code, 1.2 MB of source tarballs). Heaviest: rlang 766 KB, cpp11 298 KB, prettyunits 95 KB.
Show all 27 packagesHide all 27 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.2.2Latest
- RR 4.6.0 released · 2026-04-24
- 1.2.12026-04-04 · diff ↗
- 1.2.0
- 1.1.32025-11-14 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.1.2
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.1.12019-07-03 · diff ↗
- 1.1.0
- unarchivedReturned to CRAN2019-06-19
- archivedRemoved from CRAN2019-05-12check problems were not corrected in time
Package metadata
- First published
- 2018-11-04
- Total releases
- 9 / 8 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-3 in 1.1.2
- Minimum R
- ≥ 3.6.0
- Download size
- 125 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("lobstr")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-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.