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.7)filecacher_0.2.9.zip(r-4.6)filecacher_0.2.9.zip(r-4.5)
filecacher_0.2.9.tgz(r-4.6-any)filecacher_0.2.9.tgz(r-4.5-any)
filecacher_0.2.9.tar.gz(r-4.7-any)filecacher_0.2.9.tar.gz(r-4.6-any)
filecacher_0.2.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:13c07c4059. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 107 | ||
| source / vignettes | OK | 189 | ||
| linux-release-x86_64 | OK | 113 | ||
| macos-release-arm64 | OK | 142 | ||
| macos-oldrel-arm64 | OK | 151 | ||
| windows-devel | OK | 71 | ||
| windows-release | OK | 71 | ||
| windows-oldrel | OK | 76 | ||
| wasm-release | OK | 100 |
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 |
