Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.2.9 rolling source/ R- filecacher_0.2.9.tar.gz 16.7 KiB
0.2.9 latest source/ R- filecacher_0.2.9.tar.gz 16.7 KiB
0.2.9 2026-04-23 source/ R- filecacher_0.2.9.tar.gz 16.7 KiB
0.2.9 2026-04-09 windows/windows R-4.5 filecacher_0.2.9.zip 51.7 KiB

Dependencies (latest)

Imports

Suggests