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)

CshlSiepelLab/nascentRNASim documentation built on Dec. 17, 2021, 3:08 p.m.