repo_root: Show path to repo root

Description Usage Value Examples

View source: R/repo_public.R

Description

Show path to repo root

Usage

1

Value

character containing the path to the root of the repo.

Examples

1
2
3
4
5
6
rp_path <- file.path(tempdir(), "example_repo")
rp <- repo_open(rp_path, TRUE)
print(rp$root())

## wiping temporary repo
unlink(rp_path, TRUE)

repo documentation built on Nov. 27, 2017, 5:04 p.m.