cachify: cachify turns a function into a caching function

Description Usage Arguments Details Value

View source: R/cachify.R

Description

cachify turns a function into a caching function

Usage

1
cachify(f, cacheDir, debug = FALSE)

Arguments

f

The function to cachify (either name or function)

cacheDir

A directory where the results of the function are stored.

debug

Set to TRUE to receive info about cache retrieval vs. evaluation

Details

ATTENTION: functions that are called for their side-effects become unusable without error!

Value

The cachified function. Cachifistic!


fnbn/cachifyR documentation built on May 5, 2019, 6:58 p.m.