# Construct a path from the current working directory
from_wd()
if (FALSE) {
# Construct a path to a file in an R package
from_r_package("R", "my_file.R")
# Construct a path in a pkgdown project
from_pkgdown$docs$index.html
# Construct a path in a Git repository
from_git("src", "main.c")
}
Run the code above in your browser using DataLab