This function queries GitHub for the code of the current package
versions. This may reference a non-tagged commit; for the analysis of tagged
commits only, see wood_github_versions()
.
Arguments
- package
character(1)
Name of a package to query for.- user
character(1)
Name of a user or organization.
See also
Functions for GitHub:
wood_github_dependencies()
,
wood_github_packages()
,
wood_github_tags()
,
wood_github_versions()
Functions that query package versions:
wood_bioc_version()
,
wood_core_version()
,
wood_cran_latest()
,
wood_cran_versions()
,
wood_github_versions()
,
wood_local_versions()
,
wood_runiverse_version()
,
wood_url_version()
,
wood_versions()
Examples
# \donttest{
# Latest version code is returned
wood_github_latest("gglgbtq", "turtletopia")
#> [1] "0.1.1"
# To get the latest *tagged* version code instead, use:
codes <- wood_github_versions("gglgbtq", "turtletopia")
versionsort::ver_latest(codes)
#> [1] "0.1.1"
# }