isEmptyDirectory: Is one / are several directories empty?

View source: R/directory.R

isEmptyDirectoryR Documentation

Is one / are several directories empty?

Description

If file does not exist or is not a directory, FALSE is returned.

Usage

isEmptyDirectory(...)

Arguments

...

[character(1)]
Directory names, all strings.

Value

[logical].

Examples

print(isEmptyDirectory(tempdir()))
print(isEmptyDirectory(tempfile()))

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.