| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/paths.R |
| 3 |
\name{normalize_path} |
| 4 |
\alias{normalize_path} |
| 5 |
\title{Normalize paths} |
| 6 |
\usage{ |
| 7 |
normalize_path(x, winslash = "/", must_work = FALSE, resolve_symlink = TRUE) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x, winslash, must_work}{Arguments passed to |
| 11 |
\code{\link[=normalizePath]{normalizePath()}}.} |
| 12 |
|
| 13 |
\item{resolve_symlink}{Whether to resolve symbolic links.} |
| 14 |
} |
| 15 |
\description{ |
| 16 |
A wrapper function of \code{normalizePath()} with different defaults. |
| 17 |
} |
| 18 |
\examples{ |
| 19 |
library(xfun) |
| 20 |
normalize_path("~") |
| 21 |
} |