.check_valid_command_path {cmdfun} | R Documentation |
Checks path is valid
Description
Not meant to be called directly
Usage
.check_valid_command_path(path)
Arguments
path |
path to file or directory |
Value
expanded system path
Examples
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")
}
[Package cmdfun version 1.0.2 Index]