| cache_info | R Documentation |
Lists all cached runtimes (R, Python, Node.js) with their versions,
platforms, architectures, and disk usage. Modeled after
shinylive::assets_info().
cache_info(quiet = FALSE)
quiet |
Logical. If TRUE, suppresses console output and returns the results invisibly. Default is FALSE. |
A data frame (returned invisibly) with columns:
runtime (character), version (character),
platform (character), arch (character),
size (character, human-readable), and path (character).
cache_clear() to remove cached assets, cache_dir() for
the cache location.
# Programmatic access (safe to run -- just inspects the cache dir)
df <- cache_info(quiet = TRUE)
nrow(df) # number of cached runtimes
# Pretty-print the cache contents
cache_info()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.