normPath: Normalize filepath.

Description Usage Arguments Value

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
normPath(path)

## S4 method for signature 'character'
normPath(path)

## S4 method for signature 'list'
normPath(path)

## S4 method for signature ''NULL''
normPath(path)

## S4 method for signature 'missing'
normPath()

Arguments

path

A character vector of filepaths.

Value

Character vector of cleaned up filepaths.


PredictiveEcology/lazyR documentation built on May 8, 2019, 3:10 p.m.