File System Cache

Manages a file system cache. Regular files can be moved or copied to the cache folder. Sub-folders can be created in order to organize the files. Files can be located inside the cache using a glob function. Text contents can be easily stored in and retrieved from the cache using dedicated functions. It can be used for an application or a package, as a global cache, or as a per-user cache, in which case the standard OS user cache folder will be used (e.g.: on Linux $HOME/.cache/R/my_app_or_pkg_cache_folder).


fscache

pipeline coverage CRAN Total downloads Last month downloads

An R package to handle a user file system cache for an application or package.

See documentation.

NEWS

V1.0.5

  • Correct test of relative cache folder on Windows and MacOS.

V1.0.4

  • Correct example that dit not delete a folder created inside user's cache directory.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fscache")

1.0.5 by Pierrick Roger, 2 years ago


https://gitlab.com/cnrgh/databases/r-fscache


Report a bug at https://gitlab.com/cnrgh/databases/r-fscache/-/issues


Browse source code at https://github.com/cran/fscache


Authors: Pierrick Roger [aut, cre]


Documentation:   PDF Manual  


AGPL-3 license


Imports R.utils, R6, chk, lgr, lifecycle, stringi, tools

Suggests covr, knitr, lintr, rmarkdown, roxygen2, stringr, testthat


Imported by sched.


See at CRAN