tw_check_cache: Check caching status in the current session, and override it...

View source: R/tw_caching.R

tw_check_cacheR Documentation

Check caching status in the current session, and override it upon request

Description

Mostly used internally in functions, exported for reference.

Usage

tw_check_cache(cache = NULL)

Arguments

cache

Defaults to NULL. If NULL, checks current cache settings. If given, returns given value, ignoring cache.

Value

Either TRUE or FALSE, depending on current cache settings.

Examples


if (interactive()) {
  tw_check_cache()
}


tidywikidatar documentation built on March 31, 2023, 9:08 p.m.