Get reference to the maximal version of the package.
Arguments
- remote_ref
(
remote_ref
) object created withpkgdepends::parse_pkg_ref()
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"))
}