dir.hasFiles: Check if directory has files

Description Usage Arguments Value

View source: R/util.R

Description

Check if the directory has any files recursively

Usage

1
dir.hasFiles(d, recursive = TRUE)

Arguments

d

The directory to check

recursive

Whether to check recursively or just in the first level

Value

Logical (TRUE) if directory d has any file


henfiber/later documentation built on June 6, 2017, 2:18 a.m.