repo_root: Show path to repo root

Description Usage Arguments Value Examples

Description

Show path to repo root

Usage

1

Arguments

rp

An object of class repo.

Value

character cotaining 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)


Search within the repo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.