filecacher: File Cacher

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.

Version: 0.2.9
Depends: R (≥ 4.1.0)
Imports: cachem, glue, here, purrr, rlang, utils, vctrs
Suggests: arrow, data.table, readr, testthat (≥ 3.0.0), withr
Published: 2024-01-19
DOI: 10.32614/CRAN.package.filecacher
Author: Or Gadish [aut, cre, cph]
Maintainer: Or Gadish <orgadish at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: filecacher results


Reference manual: filecacher.pdf


Package source: filecacher_0.2.9.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): filecacher_0.2.9.tgz, r-oldrel (arm64): filecacher_0.2.9.tgz, r-release (x86_64): filecacher_0.2.9.tgz, r-oldrel (x86_64): filecacher_0.2.9.tgz
Old sources: filecacher archive


Please use the canonical form to link to this page.