cache(cacheRepo = NULL, FUN, ..., notOlderThan = NULL, objects = NULL, outputObjects = NULL, algo = "xxhash64")
# S4 method for ANY cache(cacheRepo = NULL, FUN, ..., notOlderThan = NULL, objects = NULL, outputObjects = NULL, algo = "xxhash64")
A repository used for storing cached objects. This is optional if
Cacheis used inside a SpaDES module.
Either a function or an unevaluated function call (e.g., using
load an artifact from the database only if it was created after notOlderThan.
Character vector of objects to be digested. This is only applicable if there is a list, environment or simList with named objects within it. Only this/these objects will be considered for caching, i.e., only use a subset of the list, environment or simList objects.
Optional character vector indicating which objects to return. This is only relevant for
The algorithms to be used; currently available choices are
md5, which is also the default,