Learn R Programming

ceramic (version 0.9.5)

ceramic_cache: Ceramic file cache

Description

File system location where ceramic stores its cache.

Usage

ceramic_cache(force = FALSE)

Value

A character vector, the file path location of the cache.

Arguments

force

set to TRUE to create the location without asking the user

Details

If allowed, the cache will be created at file.path(rappdirs::user_cache_dir(), ".ceramic"), which corresponds to '~/.cache/.ceramic' for a given user.

If the file cache location does not exist, the user will be asked in interactive mode for permission. For non-interactive mode use the force argument.

It is not currently possible to customize the cache location. To clear the cache (completely) see clear_ceramic_cache().

Examples

Run this code
if (interactive()) {
 ceramic_cache()
}

Run the code above in your browser using DataLab