This is a generic definition that can be extended according to class.
checkPath can be called directly, but does not have class-specific methods.
.checkCacheRepo(object, create = FALSE) # S4 method for ANY .checkCacheRepo(object, create = FALSE)
An R object
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