Learn R Programming

reproducible (version 1.1.1)

.checkCacheRepo: Check for cache repository info in ...

Description

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.

Usage

.checkCacheRepo(object, create = FALSE)

# S4 method for ANY .checkCacheRepo(object, create = FALSE)

Arguments

object

An R object

create

Logical. If TRUE, then it will create the path for cache.

Value

A character string with a path to a cache repository.

Examples

Run this code
# NOT RUN {
a <- "test"
.checkCacheRepo(a) # no cache repository supplied

# }

Run the code above in your browser using DataLab