get_default_github_branch | R Documentation |
get_default_github_branch
get_default_github_branch(org, repo)
org |
Github organization |
repo |
Github repository |
Name of default branch on GitHub
This function is not intended to be called directly, and is only exported to enable it to be used within the plumber API.
Other github:
get_gh_token()
,
get_latest_commit()
,
use_github_action_pkgcheck()
## Not run:
org <- "ropensci-review-tools"
repo <- "pkgcheck"
branch <- get_default_github_branch (org, repo)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.