validate_path: Validate path

View source: R/utilities.R

validate_pathR Documentation

Validate path

Description

Use dir.exists to determine whether the input path is valid and returns an error message if not.

Usage

validate_path(path)

Arguments

path

A character string specifying a path to the dataset working directory.

Value

A warning message if the path leads to a non-existant directory.


EDIorg/EMLtools documentation built on Nov. 1, 2022, 9:38 a.m.