Skip to contents

This function queries any online repository for the code of the current version of the selected package.

Usage

wood_url_version(package, repository)

Arguments

package

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

repository

character(1)
URL to repository, e.g. "http://www.omegahat.net/R".

Value

A single string with a version code.

Examples

# \donttest{
wood_url_version("XML", repository = "http://www.omegahat.net/R")
#> [1] "3.99-0"
# }