fcds_cache: List or Clean Cached FCDS Data Files

Description Usage Arguments Functions See Also

Description

Helper functions to list cached processed fcds data files or to clean outdated cached files.

Usage

1
2
3
4
5
fcds_cache_ls(path = NULL, pattern = "^fcds_.+\\.[Rr][Dd][Ss]$")

fcds_cache_info(path = NULL, ...)

fcds_cache_clean(path = NULL, ..., all = FALSE, dry_run = FALSE)

Arguments

path

The path to the fcds cached data, defaults to fcds_default_data_path()

pattern

The file pattern used to identify fcds cached data files, by default these are expected to be .rds files whose names start with fcds_.

...

Arguments passed on to fcds_cache_ls

pattern

The file pattern used to identify fcds cached data files, by default these are expected to be .rds files whose names start with fcds_.

all

Should all cached data files be removed? If FALSE, the default value, the most recent file is kept. Recency is determined by sorting file names in reverse order rather than by file system modification times. If in doubt, use dry_run = TRUE to check behavior.

dry_run

If TRUE, fcds_cache_clean() reports planned actions without removing any files.

Functions

See Also

Other FCDS Import Functions: fcds_default_data_path, fcds_import, fcds_load, fcds_recoding


GerkeLab/fcds documentation built on July 30, 2020, 7:04 p.m.