Learn R Programming

sen2r (version 1.5.0)

normalize_path: Express file paths in canonical Form depending on the operating system

Description

Accessory function wrapper for normalizePath() in Linux and shortPathName(normalizePath()) in Windows.

Usage

normalize_path(path, ...)

Arguments

path

character vector of file paths

...

additional parameters passed to normalizePath (i.e. mustWork).

Value

The paths normalized.

References

L. Ranghetti, M. Boschetti, F. Nutini, L. Busetto (2020). "sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data. Computers & Geosciences, 139, 104473. 10.1016/j.cageo.2020.104473, URL: https://sen2r.ranghetti.info/.