These are not intended for normal use.
CacheDBFile(
cachePath,
drv = getOption("reproducible.drv", RSQLite::SQLite()),
conn = getOption("reproducible.conn", NULL)
)CacheStorageDir(cachePath)
CacheStoredFile(
cachePath,
hash,
format = getOption("reproducible.cacheSaveFormat", "rds")
)
CacheDBTableName(
cachePath,
drv = getOption("reproducible.drv", RSQLite::SQLite())
)
CacheIsACache(
cachePath,
create = FALSE,
drv = getOption("reproducible.drv", RSQLite::SQLite()),
conn = getOption("reproducible.conn", NULL)
)
A path describing the directory in which to create the database file(s)
A '>DBIConnection object, as returned by
dbConnect()
.
The cacheId or otherwise digested hash value, as character string.
The text string representing the file extension used normally by
different save formats; currently only "rds"
or "qs"
. Defaults
to getOption("reproducible.cacheSaveFormat", "rds")
Logical. Currently only affects non RQSLite default drivers. If this
is TRUE
and there is no Cache database, the function will create one.
CacheStoredFile
returns the file path to the file with the specified hash value.
CacheStoredFile
returns the file path to the file with the specified hash value.
CacheIsACache
returns a logical of whether the specified cachePath
is actually a functioning cache.