This is handy helper if you want to make gh requests related to the current project.
gh_tree_remote(path = ".")
If the repo has a github remote, a list containing username
username
and repo. Otherwise, an error.
repo
Path that is contained within a git repo.
if (FALSE) { # interactive() gh_tree_remote() }
Run the code above in your browser using DataLab