filecacher: File Cacher (original) (raw)
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 |
| BugReports: | https://github.com/orgadish/filecacher/issues |
| License: | MIT + file |
| URL: | https://github.com/orgadish/filecacher |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | filecacher results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=filecacherto link to this page.