File system location where ceramic stores its cache.

ceramic_cache(force = FALSE)

Arguments

force

set to TRUE to create the location without asking the user

Value

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

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

if (interactive()) {
 ceramic_cache()
}