The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
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
install.packages("hoardr")
Dev version
devtools::install_github(c("ropensci/hoardr"))
library("hoardr")
(x <- hoardr::hoard())
#> <hoard>
#> path:
#> cache path:
x$cache_path_set("foobar", type = 'tempdir')
#> [1] "/tmp/RtmpIytUh2/R/foobar"
x$mkdir()
cat("hello world", file = file.path(x$cache_path_get(), "foo.txt"))
x$list()
#> [1] "/tmp/RtmpIytUh2/R/foobar/foo.txt"
x$details()
#> <cached files>
#> directory: /tmp/RtmpIytUh2/R/foobar
#>
#> file: /foo.txt
#> size: 0 mb
x$delete("foo.txt")
x$list()
#> character(0)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.