hoardr is a package for managing cached files.
The benefit of using
hoardr vs. raw
rapddirs is that
hoardr exposes an easy to use
R6 class that has variables and functions within it, so you don’t have to import function foo or bar, etc. Just a single object.
You can easily wrap
hoardr with user facing functions in your own package to manage cached files.
If you find any bugs or have any feature requests get in touch at https://github.com/ropensci/hoardr.
Stable from CRAN
(x <- hoardr::hoard()) #> <hoard> #> path: #> cache path:
x$details() #> <cached files> #> directory: /tmp/Rtmp54jCTR/R/foobar #> #> file: /foo.txt #> size: 0 mb