knitr::opts_chunk$set( comment = "#>", collapse = TRUE, warning = FALSE, message = FALSE )
hoardr is a package for managing cached files.
The benefit of using
hoardr vs. raw
rapddirs is that
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
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())
x$cache_path_set("foobar", type = 'tempdir')
cat("hello world", file = file.path(x$cache_path_get(), "foo.txt"))
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.