removeRegistry: Remove a Registry from the File System

View source: R/removeRegistry.R

removeRegistryR Documentation

Remove a Registry from the File System

Description

All files will be erased from the file system, including all results. If you wish to remove only intermediate files, use sweepRegistry.

Usage

removeRegistry(wait = 5, reg = getDefaultRegistry())

Arguments

wait

[numeric(1)]
Seconds to wait before proceeding. This is a safety measure to not accidentally remove your precious files. Set to 0 in non-interactive scripts to disable this precaution.

reg

[Registry]
Registry. If not explicitly passed, uses the default registry (see setDefaultRegistry).

Value

[character(1)]: Path of the deleted file directory.

See Also

Other Registry: clearRegistry(), getDefaultRegistry(), loadRegistry(), makeRegistry(), saveRegistry(), sweepRegistry(), syncRegistry()

Examples


tmp = makeRegistry(file.dir = NA, make.default = FALSE)
removeRegistry(0, tmp)

batchtools documentation built on April 20, 2023, 5:09 p.m.