cache_info: Show information about the styler cache

Description Usage Arguments See Also

View source: R/ui-caching.R

Description

Gives information about the cache. Note that the size consumed by the cache will always be displayed as zero because all the cache does is creating an empty file of size 0 bytes for every cached expression. The innode is excluded from this displayed size but negligible.

Usage

1
cache_info(cache_name = NULL, format = "both")

Arguments

cache_name

The name of the cache for which to show details. If NULL, the active cache is used. If none is active the cache corresponding to the installed styler version is used.

format

Either "lucid" for a summary emitted with base::cat(), "tabular" for a tabular summary from base::file.info() or "both" for both.

See Also

Other cache managers: cache_activate(), cache_clear()


krlmlr/styler documentation built on Oct. 25, 2020, 8:13 a.m.