All files will be erased from the file system, including all results.
If you wish to remove only intermediate files, use sweepRegistry.
removeRegistry(wait = 5, reg = getDefaultRegistry())[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.
[Registry]
Registry. If not explicitly passed, uses the default registry (see setDefaultRegistry).
[character(1)]: Path of the deleted file directory.
Other Registry:
clearRegistry(),
getDefaultRegistry(),
loadRegistry(),
makeRegistry(),
saveRegistry(),
sweepRegistry(),
syncRegistry()
tmp = makeRegistry(file.dir = NA, make.default = FALSE)
#> No readable configuration file found
#> Created registry in '/tmp/batchtools-example/reg' using cluster functions 'Interactive'
removeRegistry(0, tmp)
#> Recursively removing files in '/tmp/batchtools-example/reg' ...