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()
}


giocomai/tidywikidatar documentation built on Aug. 2, 2024, 5:33 p.m.