Remove unnecessary dot-dot from (relative) paths.

Remove unnecessary dot-dot from (relative) paths.

aux_simplifypath(path)

Arguments

path

Path character string

Value

string with simplified path (no .. within path)

Examples

if (FALSE) { # \dontrun{
aux_simplifypath("this/does/not/../work")
} # }