View source: R/boe_cache_info.R
| boe_cache_info | R Documentation |
Reports the cache directory, number of cached files, total size, and oldest / newest modification timestamps. Prints a short summary and returns the underlying values invisibly.
boe_cache_info()
The cache directory defaults to tools::R_user_dir("boe", "cache")
and can be overridden with options(boe.cache_dir = ...).
Invisibly, a list with elements:
Character. Cache directory.
Integer. Number of cached files.
Numeric. Total size on disk (bytes).
POSIXct. Modification time of oldest file (or
NA if cache is empty).
POSIXct. Modification time of newest file (or
NA if cache is empty).
clear_cache()
op <- options(boe.cache_dir = tempdir())
boe_cache_info()
options(op)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.