gh_release_latest | R Documentation |
Uses gh::gh()
to fetch the latest GitHub release of the specified GitHub repository
via GitHub's RESTful API and returns it as a numeric version.
gh_release_latest(owner, name)
owner |
GitHub repository owner (GitHub user or organisation). A character scalar. |
name |
Repository name. A character scalar. |
A numeric version.
Other GitHub functions:
gh_dir_ls()
,
gh_releases()
,
gh_text_file()
,
gh_text_files()
yay::gh_release_latest(owner = "jgm",
name = "pandoc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.