normalizePath2: normalizePath2

View source: R/Utilities.R

normalizePath2R Documentation

normalizePath2

Description

Attempt to normalize a relative path to an absolute one. Optionally without resolving symlinks on non-Windows systems

Usage

normalizePath2(path, follow.symlinks = FALSE, winslash = "\\", mustWork = NA)

Arguments

path

The path to normalize

follow.symlinks

Should symlinks (other than . and ..) be resolved to their physical locations? (FALSE)

winslash

The value of winslash to be passed down to normalizePath on windows systems

mustWork

logical. Passed to normalizePath on windows. Ignored otherwise.

Value

The normalized path.


gmbecker/switchr documentation built on Feb. 24, 2023, 12:59 p.m.