simpleCache: Simple key-value cache function accepting closures

View source: R/helpers.R

simpleCacheR Documentation

Simple key-value cache function accepting closures

Description

Simple key-value cache function accepting closures

Usage

simpleCache(object, key, path = getOption("custom_data_path"), refresh = FALSE)

Arguments

object

closure with return expression to be cached

key

cache key

path

path to cache the data

refresh

bool option to force refresh of cache, default FALSE


mountainMath/CanCovidData documentation built on July 29, 2022, 1:41 p.m.