sidra_cache_info: Inspect the sidrar metadata cache

View source: R/cache.R

sidra_cache_infoR Documentation

Inspect the sidrar metadata cache

Description

Lists entries created explicitly by the discovery functions when their cache argument is enabled. Value responses downloaded by get_sidra() are never cached by these helpers.

Usage

sidra_cache_info(cache_dir = NULL)

Arguments

cache_dir

Optional cache directory. By default, the platform-specific user cache directory for sidrar is used.

Value

A data frame with one row per sidrar cache file: normalized key, absolute path, byte size, fetched_at, expires_at, and valid. valid is TRUE only for a structurally readable, unexpired entry whose stored key matches its file name.

See Also

sidra_cache_clear()


sidrar documentation built on Sept. 18, 2026, 9:14 a.m.