Relative paths will be detected based on the presence of wildcard character(*) in the path specification.
Value
isPathAbsolute()returnsTRUEif path is absolute (no wildcard);FALSEotherwise.validateIsPathAbsolute()returnsNULLif path is absolute. Otherwise, error is signaled.
Examples
# check if path is absolute
isPathAbsolute("Organism|path") # TRUE
#> [1] TRUE
isPathAbsolute("Organism|*path") # FALSE
#> [1] FALSE
# validation: no error if path is absolute
validateIsPathAbsolute("Organism|path")
#> NULL
# validation: error otherwise
# validateIsPathAbsolute("Organism|*path")