Learn R Programming

ProjectTemplate (version 0.11.0)

.dir.empty: Check if a directory is empty

Description

Checks if the directory listing by .list.files.and.dirs is empty.

Usage

.dir.empty(path)

Value

Logical indicating whether the passed directory was empty.

Arguments

path

Character vector containing the path to the directory to check.