tests/setCacheRootPath.R

library("R.cache")

tmpdir <- tempdir()
setCacheRootPath(path=tmpdir)
setCacheRootPath(path=file.path(tmpdir, "subdir"))
setCacheRootPath(path=tmpdir)

## Cleanup
clearCache(recursive=TRUE)
MINATILO/R.cache documentation built on Dec. 17, 2021, 2:10 a.m.