simplePath {NMsim}R Documentation

Simplify file paths by dropping .. and //

Description

Simplify file paths by dropping .. and //

Usage

simplePath(path)

Arguments

path

single or multiple file or dir paths as strings.

Value

Simplified paths as strings

Examples

## Not run: 
path <- c("ds/asf.t","gege/../jjj.r")
NMsim:::simplePath(path)

## End(Not run)

[Package NMsim version 0.2.4 Index]