Converts "~" into absolute path to home directory, and replaces escaped back slashes "\" with forward slash "/".

standardize_path(path)

Arguments

path

string with path

Value

string ...

Examples

standardize_path("D:\\folder")
#> [1] "D:/folder"
standardize_path("~")
#> [1] "/Users/runner"