Skip to contents

Get reference to the maximal version of the package.

Usage

get_ref_max(remote_ref)

Arguments

remote_ref

(remote_ref) object created with pkgdepends::parse_pkg_ref()

Value

(remote_ref) object with the package reference

Examples

if (FALSE) { # Sys.getenv("R_USER_CACHE_DIR", "") != ""
get_ref_max(pkgdepends::parse_pkg_ref("dplyr"))
get_ref_max(pkgdepends::parse_pkg_ref("cran::dplyr"))
get_ref_max(pkgdepends::parse_pkg_ref("tidyverse/dplyr"))
get_ref_max(pkgdepends::parse_pkg_ref("bioc::MultiAssayExperiment"))
}