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 gmail.com>
BugReports: https://github.com/orgadish/filecacher/issues
License: MIT + file LICENSE
URL: https://github.com/orgadish/filecacher
NeedsCompilation: no
Materials: README NEWS
CRAN checks: filecacher results

Documentation:

Reference manual: filecacher.pdf

Downloads:

Package source: filecacher_0.2.9.tar.gz
Windows binaries: r-devel: filecacher_0.2.9.zip, r-release: filecacher_0.2.9.zip, r-oldrel: filecacher_0.2.9.zip
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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=filecacher to link to this page.