cleanDir: Remove directory

Description Usage Arguments Examples

View source: R/buildPackage.R

Description

Remove all files from a given directory

Usage

1
cleanDir(dir.name, test = TRUE, trace = TRUE)

Arguments

dir.name

the path leading to the directory

test

should the user be asked whether he really wants to remove the directory

trace

should the execution of the function be traced

Examples

1
2
3
4
5
## Not run: 
   dir.create("MyNewDirButils314")
   cleanDir("MyNewDirButils314", test = FALSE)

## End(Not run)

bozenne/butils.base documentation built on April 1, 2020, 6:13 p.m.