Description Usage Arguments Value Examples
Both setCache and getCache allow maintainers / developers to specify cache locations for the package they wish to implement a caching mechanism. This avoids the maintainer the use of BiocFileCache directly by providing a simple option called 'pkgName' which indicates the name of the package being developed.
1 2 3 4 | setCache(directory = rappdirs::user_cache_dir(getOption("pkgName")),
verbose = TRUE, ask = interactive())
getCache()
|
directory |
location on disk intended for caching files |
verbose |
logical (default FALSE) whether to report procedural steps |
ask |
logical (default 'interactive()“) whether to ask the user to confirm the cache location |
setCache: Modifies 'pkgName' and <pkg>_cache options and creates directory if not available
A BiocFileCache instance for the package specified in the 'pkgName' option
1 2 | ## options(pkgName = "cacheur")
setCache()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.