cache_info: Show cached runtime information

View source: R/cache.R

cache_infoR Documentation

Show cached runtime information

Description

Lists all cached runtimes (R, Python, Node.js) with their versions, platforms, architectures, and disk usage. Modeled after shinylive::assets_info().

Usage

cache_info(quiet = FALSE)

Arguments

quiet

Logical. If TRUE, suppresses console output and returns the results invisibly. Default is FALSE.

Value

A data frame (returned invisibly) with columns: runtime (character), version (character), platform (character), arch (character), size (character, human-readable), and path (character).

See Also

cache_clear() to remove cached assets, cache_dir() for the cache location.

Examples

# 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()


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.