Skip to contents

This function queries GitHub for a list of tags for a given repository (indicated by a combination of package name and username). Each element is a tag, which need not be identical or even related to version code of the package at the given time.

Usage

wood_github_tags(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 repository tags.

Examples

# \donttest{
wood_github_tags("gglgbtq", "turtletopia")
#> [1] "v0.1.1" "v0.1.0"
# Sometimes there are no tags (yet?)
wood_github_tags("ggpizza", "turtletopia")
#> character(0)
# }