dpCheckPath: Validate a path

Description Usage Arguments Value

Description

Converts a user-specified path to an normalised, absolute path (see normalizePath. If the user-specified path is a relative path, the path is assumed to be relative to the R working directory (use getwd to see the working directory). Checks to be sure the normalized path refers to an existing directory. Optionally appends a fileName to the path, if specified.

Usage

1
dpCheckPath(path, fileName = "")

Arguments

path

a user-specified path, appropriate for the platform upon which R is running.

fileName

= a file name to be appended to the end of the path.

Value

A validated absolute path with any specified file appended.


FluvialLandscapeLab/datapuppy documentation built on May 6, 2019, 5:05 p.m.