is_full_path: Test if full path

Description Usage Arguments Value Examples

View source: R/tidyproject.R

Description

Test if full path

Usage

1

Arguments

x

string giving file/path name

Value

TRUE only when path starts with ~, /, \ or X: (i.e. when x is a full path), FALSE otherwise

Examples

1
2
3
4
5
## Not run: 
is_full_path('file.text.ext')
is_full_path('/path/to/file.text.ext')

## End(Not run)

tsahota/TidyProject documentation built on April 19, 2021, 9:14 p.m.