View source: R/github-latest.R
wood_github_latest | R Documentation |
This function queries GitHub for the code of the current package
version. This may reference a non-tagged commit; for the analysis of tagged
commits only, see wood_github_versions()
.
wood_github_latest(package, user)
package |
|
user |
|
A character vector of version codes.
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_gitlab_latest()
,
wood_gitlab_versions()
,
wood_local_versions()
,
wood_runiverse_version()
,
wood_url_version()
,
wood_versions()
# Latest version code is returned
wood_github_latest("gglgbtq", "turtletopia")
# To get the latest *tagged* version code instead, use:
codes <- wood_github_versions("gglgbtq", "turtletopia")
versionsort::ver_latest(codes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.