Skip to contents

Get reference to the release version of the package.

Usage

get_ref_release(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_release(pkgdepends::parse_pkg_ref("dplyr"))
get_ref_release(pkgdepends::parse_pkg_ref("cran::dplyr"))
get_ref_release(pkgdepends::parse_pkg_ref("tidyverse/dplyr"))
get_ref_release(pkgdepends::parse_pkg_ref("bioc::MultiAssayExperiment"))
}