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.
Value
Invisibly, a list with elements:
- path
Character. Cache directory.
- n_files
Integer. Number of cached files.
- total_size_bytes
Numeric. Total size on disk (bytes).
- oldest
POSIXct. Modification time of oldest file (or
NAif cache is empty).- newest
POSIXct. Modification time of newest file (or
NAif cache is empty).
Details
The cache directory defaults to tools::R_user_dir("boe", "cache")
and can be overridden with options(boe.cache_dir = ...).