Skip to content

cachem

1.1.0Package record

Cache R Objects with Automatic Pruning

38packages dependsuggested by 9
12.9Mdownloads / year
74.0%test coverage
13/13flavors OK

Overview

About

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.

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

CRAN checks
13OK
Slowest check: 2.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 1,942 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.0Citation fileNoWebsiteYes · pkgdown
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

12.9M
CRAN downloads in the past year
Rank #58 · ~35.2K/day · ~1.1M/mo
Daily download trend is not available in this view yet.
954.5K30 days
3M90 days
12.9M1 year
Compare downloads with other packages →
Also on210.6K r2u9 autocran1.5M conda_forge20.6K c2d4u

Repository

r-lib/cachem ↗Organization: r-lib
66Stars
17Forks
12Open issues
8Open PRs
10Releases
170Commits
10Commit identities
170 commits · Last activity 2025-10-20 · +1.5% stars, 30d
Responsiveness
How these are sampled
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

2025-09-04 · 612026-09-25 · 66
PracticesBeta

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.

Continuous integration (1)
GitHub Actions
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2023-05-15

pkgdown site last built 2023-05-15, before release 1.1.0 (2024-05-16)

Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdrevdep/
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing cachem adds 2 packages (2 with compiled code, 812 KB of source tarballs). Heaviest: rlang 766 KB, fastmap 46 KB.

Depends (0)
none
Imports (2)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none

People & History

People (2)
Author, Maintainer since 1.0.0 (2021)
Copyright holder, Funder · added in 1.1.0
Listed in earlier versions (1)
RStudio
no longer listed · 1.0.0 to 1.0.8
Releases (10)

Pick two releases to compare their code metrics.

Show 1 earlier eventHide 1 earlier event
  • R
    R 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")
Chang, W., & Posit Software, PBC, . (2024). cachem: Cache R Objects with Automatic Pruning (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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