Skip to contents

Configures the option cvmdata.cache_dir so that subsequent downloads land at path. The directory is created (recursively) if it does not exist, and writeability is verified before the option is committed.

Usage

cvm_cache_set_path(path)

Arguments

path

Character scalar with the desired cache directory.

Value

The normalized path, invisibly.

Examples

if (FALSE) { # interactive()
cvm_cache_set_path(tempfile("cvmdata-"))
}