Read the value of a symbolic link
link_path(path)A character vector of one or more paths.
A tidy path to the object the link points to.
.old_wd <- setwd(tempdir())
file_create("foo")
link_create(path_abs("foo"), "bar")
link_path("bar")
#> /tmp/RtmpgpaYYY/foo
# Cleanup
file_delete(c("foo", "bar"))
setwd(.old_wd)