File Cacher
Overview
The main functions in this package are with_cache() and cached_read(). The former is a simple way to cache an R object into a file on disk, using 'cachem'. The latter is a wrapper around any standard read function, but caches both the output and the file list info. If the input file list info hasn't changed, the cache is used; otherwise, the original files are re-read. This can save time if the original operation requires reading from many files, and/or involves lots of processing.
- Removed dependencies on
fs,dplyr,readrin tests to pass CRAN package checks. - Fixed bug in
file_cache()when suggested packages were not available. - Made explicit the dependency R (>= 4.1.0) due to use of new pipe
|>in tests and examples.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE13 OK, 1 NOTE2026-03-10
Documentation
- Help pages
- 10
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- not measured
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/orgadish/filecacher on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Code & Tests
Datasets
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
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2024-01-19
- 0.2.9Latest
- archivedRemoved from CRAN2024-01-14issues were not corrected in time Does not use 'arrow' conditionally
- 0.2.72023-11-17 · diff ↗
- 0.2.52023-11-13 · diff ↗
- 0.2.42023-11-10 · diff ↗
- 0.2.32023-11-09
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-11-09
- Total releases
- 5 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 17 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("filecacher")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.