path_rel2abs {irace} | R Documentation |
Converts a relative path to an absolute path.
Description
If the path passed corresponds to an executable, it tries to find its path
using Sys.which()
. Expansion of '~'
in Windows follows the definition
of fs::path_expand()
rather than base::path.expand()
. This function
tries really hard to create canonical paths.
Usage
path_rel2abs(path, cwd = getwd())
Arguments
path |
( |
cwd |
( |
Value
(character(1)
) Character string representing the absolute path
Examples
path_rel2abs("..")
[Package irace version 4.2.0 Index]