Cache R Objects with Automatic Pruning
Overview
Key-value stores with automatic pruning. Caches can limit either their total size or the age of the oldest object (or both), automatically pruning objects to maintain the constraints.
- Fixed #47: In some cases, with a
cache_mem, removing an item could result in the spurious message "nothing to compact" being printed out. (#48)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 4 (1 internal)
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 25%
- Documented parameters
- 100%
- Return-value docs
- 75%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/r-lib/cachem on 2026-10-18.
GitHub Pages site last deployed 2023-05-15
pkgdown site last built 2023-05-15, before release 1.1.0 (2024-05-16)
Show all practicesHide 1 practice
Dependencies
Installing cachem adds 2 packages (2 with compiled code, 812 KB of source tarballs). Heaviest: rlang 766 KB, fastmap 46 KB.
Show all 47 packagesHide all 47 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.1.0Latest
- RR 4.4.0 released · 2024-04-24
- 1.0.82023-05-01 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.0.72023-02-24 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.62021-08-19 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.52021-05-15 · diff ↗
- 1.0.42021-02-13 · diff ↗
- 1.0.32021-02-04 · diff ↗
- 1.0.22021-02-03 · diff ↗
- 1.0.12021-01-21 · diff ↗
- 1.0.02021-01-18
Show 1 earlier eventHide 1 earlier event
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-18
- Total releases
- 10 / 5 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 27 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cachem")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.