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 its metadata as a single-row
tibble containing the columns id
, version_nr
, is_pre_release
and is_draft
.
gh_release_latest(owner, name)
owner |
GitHub repository owner (GitHub user or organisation). A character scalar. |
name |
Repository name. A character scalar. |
A tibble with the columns id
, version_nr
, is_pre_release
, and is_draft
.
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.