Learn R Programming

ProjectTemplate (version 0.11.0)

.create.cache.hash: Create a data.frame with the cache metadata

Description

Create a data.frame with the cache metadata

Usage

.create.cache.hash(variable, depends, CODE)

Value

data.frame containing the variable name and its dependencies, with the corresponding hashes appended.

Arguments

variable

Name of the variable to be cached

depends

Vector of variable names of dependencies for the variable to be cached, optional.

CODE

Code block to generate variable, registered as a dependency, optional.

Details

The hashes for the various objects are calculated using the .cache.hash function.

See Also

.cache.hash