deleteTmpDirs: clean up temporary directories left by PSN and NMsim.

View source: R/deleteTmpDirs.R

deleteTmpDirsR Documentation

clean up temporary directories left by PSN and NMsim.

Description

clean up temporary directories left by PSN and NMsim.

Usage

deleteTmpDirs(dir, methods, recursive = FALSE, delete = TRUE)

Arguments

dir

The directory in which to look for contents to clean

methods

The sources to delete temporary content from. This is a character vector, and the defailt is 'c("nmsim","psn","psnfit","backup")'. Each of these correspond to a preconfigured pattern.

recursive

Look recursively in folder? Notice, matches will be deleted recursively (they are often directories). 'recursive' controls whether they are searched for recursively.

delete

Delete the found matches? If not, the matches are just reported, but nothing deleted.

Value

data.table with identified items for deletion


NMsim documentation built on Sept. 9, 2025, 5:33 p.m.