man/del_empty_dir.Rd
raw| 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/paths.R |
| 3 | \name{del_empty_dir} |
| 4 | \alias{del_empty_dir} |
| 5 | \title{Delete an empty directory} |
| 6 | \usage{ |
| 7 | del_empty_dir(dir) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{dir}{Path to a directory. If \code{NULL} or the directory does not |
| 11 | exist, no action will be performed.} |
| 12 | } |
| 13 | \description{ |
| 14 | Use \code{list.file()} to check if there are any files or subdirectories |
| 15 | under a directory. If not, delete this empty directory. |
| 16 | } |