dot-check_valid_command_path: Checks path is valid

Description Usage Arguments Value Examples

Description

Not meant to be called directly

Usage

1

Arguments

path

path to file or directory

Value

expanded system path

Examples

1
2
3
4
if (.Platform$OS.type == "unix" & file.exists("~/bin")) {
# will return /full/path/to/home/bin, or error if path doesn't exist
.check_valid_command_path("~/bin")
}

snystrom/dotargs documentation built on Oct. 18, 2020, 8:39 a.m.