Skip to contents

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().

Usage

wood_github_latest(package, user)

Arguments

package

character(1)
Name of a package to query for.

user

character(1)
Name of a user or organization.

Value

A character vector of version codes.

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"
# }