Managing user data is important to allow use of email functions
such as biocBuildEmail
and made easy with BiocFileCache
.
setCache(
directory = tools::R_user_dir("BiocPkgTools", "cache"),
verbose = TRUE,
ask = interactive()
)
pkgToolsCache(...)
The file location where the cache is located. Once set future downloads will go to this folder.
Whether to print descriptive messages
logical (default TRUE when interactive session) Confirm the file location of the cache directory
For pkgToolsCache
, arguments are passed to setCache
Get the directory location of the cache. It will prompt the user to create
a cache if not already created. A specific directory can be used via
setCache
.
Specify the directory location of the data cache. By default, it will
got to the user's home/.cache/R and "appname" directory as specified by
tools::R_user_dir
(with package="BiocPkgTools" and which="cache").