powered by
Use list.file() to check if there are any files or subdirectories under a directory. If not, delete this empty directory.
list.file()
del_empty_dir(dir)
Path to a directory. If NULL or the directory does not exist, no action will be performed.
NULL