cache_create_dir: Create local cache

Description Usage Arguments See Also Examples

View source: R/txdb_handling.R

Description

Creates local data file cache. If the directory does not exist, it will be created recursively. If no custom path is set, the default user data directory for the package will be used. See user_data_dir for details.

Usage

1
cache_create_dir(cache_dir = NULL, force = FALSE)

Arguments

cache_dir

Character path to new local files path. If null, path will be reset to default user data directory location.

force

boolean that forces overwriting of cache location (default: FALSE)

See Also

cache_set_dir cache_get_dir

Examples

1
2
3
4
5
## Not run: 
# set a different cache path
set_cache_path("z:/transcript_db/tuselecter")

## End(Not run)

ndukler/tuSelecter2 documentation built on Aug. 4, 2020, 1 p.m.