mustForce: mustForce

Description Usage Arguments Value

Description

A simple heuristic function which returns false (i.e., uncacheable) if the code calls any of the functions in nonCachedFuns, which defaults to par, options, load, rm, and source.

Usage

1
mustForce(codeInf, nonCachedFuns = nocache)

Arguments

codeInf

A ScriptNodeInfo object for the code being assessed

nonCachedFuns

a vector of function names which should be considered uncacheable

Value

TRUE if any of the functions in nonCachedFuns are called, FALSE otherwise.


gmbecker/RCacheSuite documentation built on May 17, 2019, 6:42 a.m.