Lists or deletes temporary and output files produced by ADMB and Stock
Synthesis. Only files directly within dir are considered; subdirectories
are not searched or removed.
Usage
clean_files(dir, action = c("list", "delete"))Value
A character vector containing the names of matching files. The
result is returned invisibly when action does not include "list".
See also
Other run functions:
copy_SS_inputs(),
jitter(),
populate_multiple_folders(),
profile(),
retro(),
run(),
tune_comps()
Examples
model_dir <- tempdir()
clean_files(model_dir, action = "list")
#> ℹ No matching files found to delete.