View source: R/helpers_github.R
github_repo | R Documentation |
github_repo()
returns the true repository name as string.
Retrieves metadata about a Git repository from GitHub.
github_info()
returns a list as obtained from the GET "/repos/:repo" API.
github_repo( path = usethis::proj_get(), info = github_info(path, remote = remote), remote = "origin" ) github_info(path = usethis::proj_get(), remote = "origin") uses_github(path = usethis::proj_get())
path |
|
info |
|
remote |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.