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

wood_url_version("dockerfiler", repository = "https://colinfay.me")
#> [1] "0.1.1"