remove_dir: Remove directories

Description Usage Arguments Value Examples

View source: R/files.R

Description

Delete directories and all of their contents.

Usage

1
2
3

Arguments

...

The names of the directories, specified via relative or absolute paths.

Value

Invisibly, a logical vector with TRUE for each success and FALSE for failures.

Examples

1
2
3
4
5
## Not run: 
sapply(c("mydir1", "mydir2"), dir.create)
remove_dir(c("mydir1", "mydir2"))

## End(Not run)

filesstrings documentation built on April 18, 2021, 9:12 a.m.