This is a generic definition that can be extended according to class.
Normally, checkPath
can be called directly, but does not have class-specific methods.
.checkCacheRepo(object, create = FALSE) # S4 method for ANY .checkCacheRepo(object, create = FALSE)
object | An R object |
---|---|
create | Logical. If TRUE, then it will create the path for cache. |
A character string with a path to a cache repository.
a <- "test" .checkCacheRepo(a) # no cache repository supplied