Debian Codegraph @

man/link_path.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/link.R
3 \name{link_path}
4 \alias{link_path}
5 \title{Read the value of a symbolic link}
6 \usage{
7 link_path(path)
8 }
9 \arguments{
10 \item{path}{A character vector of one or more paths.}
11 }
12 \value{
13 A tidy path to the object the link points to.
14 }
15 \description{
16 Read the value of a symbolic link
17 }
18 \examples{
19 \dontshow{.old_wd <- setwd(tempdir())}
20 file_create("foo")
21 link_create(path_abs("foo"), "bar")
22 link_path("bar")
23
24 # Cleanup
25 file_delete(c("foo", "bar"))
26 \dontshow{setwd(.old_wd)}
27 }