cleanDir: Remove directory

View source: R/buildPackage.R

cleanDirR Documentation

Remove directory

Description

Remove all files from a given directory

Usage

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

## Not run: 
   dir.create("MyNewDirButils314")
   cleanDir("MyNewDirButils314", test = FALSE)

## End(Not run)


bozenne/butils.base documentation built on May 13, 2024, 12:20 p.m.