Package: filecacher 0.2.9
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.
Authors:
filecacher_0.2.9.tar.gz
filecacher_0.2.9.zip(r-4.5)filecacher_0.2.9.zip(r-4.4)filecacher_0.2.9.zip(r-4.3)
filecacher_0.2.9.tgz(r-4.5-any)filecacher_0.2.9.tgz(r-4.4-any)filecacher_0.2.9.tgz(r-4.3-any)
filecacher_0.2.9.tar.gz(r-4.5-noble)filecacher_0.2.9.tar.gz(r-4.4-noble)
filecacher_0.2.9.tgz(r-4.4-emscripten)filecacher_0.2.9.tgz(r-4.3-emscripten)
filecacher.pdf |filecacher.html✨
filecacher/json (API)
NEWS
# Install 'filecacher' in R: |
install.packages('filecacher', repos = c('https://orgadish.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/orgadish/filecacher/issues
Last updated 1 months agofrom:13c07c4059. Checks:9 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 09 2025 |
R-4.5-win | OK | Mar 09 2025 |
R-4.5-mac | OK | Mar 09 2025 |
R-4.5-linux | OK | Mar 09 2025 |
R-4.4-win | OK | Mar 09 2025 |
R-4.4-mac | OK | Mar 09 2025 |
R-4.4-linux | OK | Mar 09 2025 |
R-4.3-win | OK | Mar 09 2025 |
R-4.3-mac | OK | Mar 09 2025 |
Exports:cached_readcached_read_csvfile_cachevectorize_readerwith_cache
Dependencies:cachemclifastmapglueherelifecyclemagrittrpurrrrlangrprojrootvctrs
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Read files via cache of file list and contents | cached_read cached_read_csv |
Compare two data frames (ignoring row order) and ensure they are equal. | dfs_equal |
Gets or creates a 'cachem' object for use with other functions. | file_cache |
Check whether two function objects have the same text definition. | fns_equal |
Get the CSV read/write function | get_csv_fns |
Get the first CSV Read function installed | get_csv_read_fn |
Extract File Information to Indicate if Contents Are Modified. | get_file_info |
Generate cache parameters from preexisting shorthand types. | interpret_cache_type |
Vectorize a single-input read function to read multiple files | vectorize_reader |
Cache via a file | with_cache |