R: Test if a path is an absolute path

is_absolute_path {fs} | R Documentation

## Test if a path is an absolute path

### Description

Test if a path is an absolute path

### Usage

    is_absolute_path(path)

### Arguments

`path` | A character vector of one or more paths.

### Examples

    is_absolute_path("/foo")
    is_absolute_path("C:\\foo")
    is_absolute_path("\\\\myserver\\foo\\bar")

    is_absolute_path("foo/bar")

[Package fs version 1.2.6 Index]