cacheName: cacheName

View source: R/cacheName.R

cacheNameR Documentation

cacheName

Description

Get the name of a cache file corresponding to the given args

Usage

cacheName(prefix, type, args = NULL)

Arguments

prefix

function prefix (e.g. "calc" or "read")

type

output type (e.g. "TauTotal")

args

a list of named arguments used to call the given function

Value

absolute path to a cache file that does not necessarily exist

Note

With setConfig(forcecache=TRUE) cacheName will also return cache file names with deviating fingerprint if no fitting cache file is found (if there are multiple it will just return the newest one).

Author(s)

Jan Philipp Dietrich, Pascal Sauer

See Also

cachePut

Examples

madrat:::cacheName("calc", "TauTotal")

pik-piam/madrat documentation built on July 4, 2025, 4:56 a.m.