gh_release_latest: Get latest release from GitHub repository

gh_release_latestR Documentation

Get latest release from GitHub repository

Description

Uses gh::gh() to fetch the latest GitHub release of the specified GitHub repository via GitHub's REST API and returns it as a numeric version.

Usage

gh_release_latest(owner, name)

Arguments

owner

GitHub repository owner (GitHub user or organisation). A character scalar.

name

Repository name. A character scalar.

Value

A numeric version.

See Also

Other GitHub functions: gh_dir_ls(), gh_releases(), gh_text_file(), gh_text_files()

Examples

yay::gh_release_latest(owner = "jgm",
                       name = "pandoc")

salim-b/yay documentation built on May 17, 2024, 5:24 a.m.