Skip to content

lobstr

1.2.2Package record

Visualize R Data Structures with Trees

13packages dependsuggested by 14
789.7Kdownloads / year
48.3%test coverage
10/13flavors OK

Overview

About

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.

Changes in 1.2.2
  • Fixes for CRAN checks.

From NEWS.md in the release

Install

Health

CRAN checks
3NOTE10OK
Check messages
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.

CRAN check page ↗

Slowest check: 2.7 min · r-devel-windows-x86_64
Status changes
  • NOTE10 OK, 3 NOTENow
  • NOTE10 OK, 4 NOTE2026-04-09
  • WARNING3 OK, 10 NOTE, 1 WARNING2026-03-17
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

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

789.7K
CRAN downloads in the past year
Rank #511 · ~2.2K/day · ~65.8K/mo
Daily download trend is not available in this view yet.
41.9K30 days
141.2K90 days
789.7K1 year
Compare downloads with other packages →
Also on14.5K r2u165 autocran162.9K conda_forge278 c2d4u

Repository

r-lib/lobstr ↗Organization: r-lib
314Stars
31Forks
19Open issues
0Open PRs
8Releases
384Commits
12Commit identities
r
384 commits · Last activity 2026-09-01 · 0% stars, 30d · Default branch at 1.2.2.9000, ahead of CRAN 1.2.2 (checked 2026-10-22)
Responsiveness
How these are sampled
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

2025-08-08 · 3072026-07-07 · 314
PracticesBeta

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.

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 (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-01 · The repository has a site deploy workflow

pkgdown site last built 2026-09-01

Coverage (2)
Coverage reporting (Codecov).covrignore
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (4)
Lint workflowAirVS CodeRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-11-13
    Seen in the repository: .claude, .claude/skills
    Named in .Rbuildignore: .claude
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.6.0
Imports (4)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
13direct
26indirect
Imports 13
Suggested by 14
Show all 27 packagesHide all 27 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 1.0.0 (2018)
Copyright holder, Funder · added in 1.1.3
Listed in earlier versions (1)
RStudio
no longer listed · 1.0.0 to 1.1.2
Releases (9)

Pick two releases to compare their code metrics.

  • 1.2.2Latest
    record
    2026-09-01 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.1
    record
    2026-04-04 · diff ↗
  • 1.2.0
    record
    2026-02-18 · diff ↗ ·
    added 1 export
    src
  • 1.1.3
    record
    2025-11-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.2
    record
    2022-06-23 · diff ↗ ·
    added 2 exports
    tree, tree_label
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.1
    record
    2019-07-03 · diff ↗
  • 1.1.0
    record
    2019-06-20 · diff ↗ ·
    added 1 export
    sxp
  • unarchivedReturned to CRAN
    2019-06-19
  • archivedRemoved from CRAN
    2019-05-12
    check problems were not corrected in time
Show 4 earlier eventsHide 4 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.1
    record
    2018-12-21 · diff ↗
  • 1.0.0
    record
    2018-11-04
  • R
    R 3.5.0 released · 2018-04-23

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")
Wickham, H., & Posit Software, PBC. (2026). lobstr: Visualize R Data Structures with Trees (Version 1.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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