powered by
Retrieve the version number of the latest GitHub release for a repository and optionally print versions found across all branches.
get_latest_version( gh_repo = file.path("rjdverse", "rjd3toolkit"), verbose = TRUE )
A character string with the version of the latest release.
[character] GitHub repository in the format "owner/repo".
"owner/repo"
[logical] Whether to print current and new remote fields (default: TRUE).
TRUE
# \donttest{ get_latest_version("r-lib/usethis") # }
Run the code above in your browser using DataLab