Get the tags of Github releases of a repository
Read the HTML source of the release page and parse the tags of the releases.
github_releases(repo, subpath = "", pattern = "(v[0-9.]+)")
repo |
The repository name of the form |
subpath |
A character string to be appended to the URL of Github
releases (i.e., |
pattern |
A regular expression to extract the tags from the HTML source. It must contain a group (i.e., must have a pair of parentheses). |
A character vector of (GIT) tags.
if (interactive()) xfun::github_releases("yihui/xfun")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.