Skip to contents

This function queries the selected universe for the code of the current version of the selected package.

Usage

wood_runiverse_version(package, universe = "ropensci")

Arguments

package

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

universe

character(1)
Name of a universe within R-universe, e.g. "ropensci".

Value

A single string with a version code.

Examples

# \donttest{
wood_runiverse_version("targets")
#> [1] "0.14.3.9005"
wood_runiverse_version("ggplot2", universe = "tidyverse")
#> [1] "3.4.2.9000"
# }