Learn R Programming

SpaDES (version 1.2.0)

normPath: Normalize filepath

Description

Checks the specified filepath for formatting consistencies: 1) use slash instead of backslash; 2) do tilde etc. expansion; 3) remove trailing slash.

Usage

normPath(path)
"normPath"(path)
"normPath"(path)
"normPath"(path)
"normPath"()

Arguments

path
A character vector of filepaths.

Value

Character vector of cleaned up filepaths.