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

cache_activate(cache_name = NULL, verbose = TRUE)

cache_deactivate(verbose = TRUE)



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.


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

See also

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