Learn R Programming

mark (version 0.8.1)

norm_path: Normalize paths

Description

Normalize and check a vector of paths

Usage

norm_path(x = ".", check = FALSE, remove = check)

file_path(..., check = FALSE, remove = check)

user_file(..., check = FALSE, remove = check)

Value

A vector of full file paths

Arguments

x

A character vector of paths

check

Logical, if TRUE will check if the path exists and output a warning if it does not.

remove

Logical, if TRUE will remove paths that are not found

...

Character vectors for creating a path