cache_find: cache_find

Description Usage Arguments Details Value See Also

View source: R/cache_find.R

Description

Finds the cache path by searching up the directory structure for a directory named by cache_name().

Usage

1
cache_find(path = ".", relative = FALSE)

Arguments

path

to look for cache in. Default is the PWD.

Details

The default name of the cache directory is cache, but can be changed with: options(cache.name=*name*).

Value

a fs::path() pointing to the cache directory or NULL if the path cannot be found.

See Also

rprojroot::find_root()


decisionpatterns/cache documentation built on June 15, 2020, 9:35 p.m.