| repo_root | R Documentation |
Show path to repo root
repo_root()
character containing the path to the root of the repo.
rp_path <- file.path(tempdir(), "example_repo")
rp <- repo_open(rp_path, TRUE)
print(rp$root())
## wiping temporary repo
unlink(rp_path, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.