github_releases | R Documentation |
Use the GitHub API (github_api()
) to obtain the tags of the
releases.
github_releases(
repo,
tag = "",
pattern = "v[0-9.]+",
use_jsonlite = loadable("jsonlite")
)
repo |
The repository name of the form |
tag |
A tag as a character string. If provided, it will be returned if
the tag exists. If |
pattern |
A regular expression to match the tags. |
use_jsonlite |
Whether to use jsonlite to parse the releases info. |
A character vector of (GIT) tags.
xfun::github_releases("yihui/xfun")
xfun::github_releases("gohugoio/hugo")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.