browse_repo: Browse a given GitHub repo

View source: R/browse.R

browse_repoR Documentation

Browse a given GitHub repo

Description

Opens browser to a given GitHub repo. Inspired by similar browse_ functions included in the usethis package.

Usage

browse_repo(repo_ref)

Arguments

repo_ref

Repository reference as created by create_repo_ref()

Value

Returns URL in non-interactive session or launches browser to docs in interactive session

Examples

## Not run: 
my_repo <- create_repo_ref("repo_owner", "repo")
browse_repo(my_repo)

## End(Not run)

projmgr documentation built on May 29, 2024, 5 a.m.

Related to browse_repo in projmgr...