cache_activate: Activate or deactivate the styler cache

Description Usage Arguments See Also

View source: R/ui-caching.R

Description

Helper functions to control the behavior of caching. Simple wrappers around base::options().

Usage

1
2
3
cache_activate(cache_name = NULL, verbose = !getOption("styler.quiet", FALSE))

cache_deactivate(verbose = !getOption("styler.quiet", FALSE))

Arguments

cache_name

The name of the styler cache to use. If NULL, the option "styler.cache_name" is considered which defaults to the version of styler used.

verbose

Whether or not to print an informative message about what the function is doing.

See Also

Other cache managers: cache_clear(), cache_info(), caching


krlmlr/styler documentation built on Jan. 17, 2022, 2:04 p.m.