check_dir_existence: Check for existence of a directory.

Description Usage Arguments Value Examples

View source: R/check_dir_existence.R

Description

Highly recommend to use R Studio projects so paths are relative to the current working directory. Wrapper to dir.exists

Usage

1

Arguments

...

Strings of the names within a single path

Value

Boolean that indicates if directory exists, A message displays the path to the directory. If path does not exist, an error message is displayed.

Examples

1
2
3
check_dir_existence("data", "raw")
check_dir_existence("data", "processed")
check_dir_existence("docs")

antchau/glider documentation built on Dec. 1, 2020, 9:23 p.m.