cachem
1.1.0Cache R Objects with Automatic Pruning
41packages depend
12.7Mdownloads / year
74.0%test coverage
13/13checks pass
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.
Install
Health
CRAN checks
13OK
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.39
74.0%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 1,942 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 75%
- References docs
- 0%
Downloads
12.7M
CRAN downloads in the past year
Rank #57 · ~34.7K/day · ~1.1M/mo
Daily download trend is not available in this view yet.
1M30 days
3.2M90 days
12.7M1 year
Also on148.1K r2u10 autocran1.1M conda_forge4K c2d4u
Repository
Repository
65Stars
16Forks
11Open issues
4Open PRs
10Releases
170Commits
10Contributors
170 commits · Last activity 2025-10-20 · 0% stars, 30d
Stars over time
2024-11-05 · 582026-07-07 · 65
Forks over time
2024-04-30 · 152026-07-07 · 16
Releases over time
2024-05-15 · 102026-07-07 · 10
Issues over time
2025-06-20 · 102026-07-07 · 11
PRs over time
2024-05-15 · 42026-07-07 · 4
Repository practices
Upstream repositoryBeta
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/r-lib/cachem on 2026-07-19.
Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Dependencies
Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
41direct
3,882indirect
R4GoodPersonalFinancesUNCOVERaquodombigergmbslibchildeswordfreqcomtradrcvdpreventdatamuseumdataverseepidatrepiparameterf1dataRffscraprfilecachergetRadggpathicesDatsuicesSAGicesVocabmemoisemeteospainneonstorenflplotRnflreadrpackageRankpangolingrgoogleadsrxrefshinyshinyCLTshinyOAuthslackrtogglrupdatemeShinyItemAnalysishydrodownloadRmongolstatsnomisdatathefttheftdlc
Code & Tests
Code Composition
R 1,994 (80%)Rd 446 (18%)C 41 (2%)
Code characteristics
Object systems
S32
- Cyclomatic complexity
- 2.0 median / 48 max
- Test cases
- 23 / 0.39 per code line
Test coverage
Line coverage
74%
Expression
74.0%
Tests / Examples
74.0% / 36% ex
Functions
13 3 exported
Complexity
9.5 avg / 48 max
Call network
13 nodes / 6 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
13 functions| Function | Cyclo | Coverage |
|---|---|---|
| cache_layered exp | 10 | 0% |
| absolute_path | 2 | 0% |
| dir_remove | 5 | 0% |
| format.cachem | 1 | 0% |
| format_args | 2 | 0% |
| format_methods | 2 | 0% |
People & History
People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder, Funder · added in 1.1.0
Funders (1)
Copyright holder, Funder · added in 1.1.0
Listed in earlier versions (1)
no longer listed · 1.0.0 to 1.0.8
Package Timeline
10 releases. Pick two to compare their code metrics. R releases are shown for context.
- 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 events
- RR 4.0.0 released · 2020-04-24
0 of 2 selectedCompare selected
Package metadata
- First published
- 2021-01-18
- Total releases
- 10 / 5 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 27 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet