Learn R Programming

reproducible (version 0.2.0)

cache: Deprecated functions

Description

Deprecated functions

Usage

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")

Arguments

cacheRepo

A repository used for storing cached objects. This is optional if Cache is used inside a SpaDES module.

FUN

Either a function or an unevaluated function call (e.g., using quote.

...

Arguments of FUN function .

notOlderThan

load an artifact from the database only if it was created after notOlderThan.

objects

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.

outputObjects

Optional character vector indicating which objects to return. This is only relevant for simList objects

algo

The algorithms to be used; currently available choices are md5, which is also the default, sha1, crc32, sha256, sha512, xxhash32, xxhash64 and murmur32.