Test if a path is an absolute path
Arguments
- path
A character vector of one or more paths.
Examples
is_absolute_path("/foo")
#> [1] TRUE
is_absolute_path("C:\\foo")
#> [1] TRUE
is_absolute_path("\\\\myserver\\foo\\bar")
#> [1] TRUE
is_absolute_path("foo/bar")
#> [1] FALSE