Skip to contents

Get reference to the minimal version of the package including also check in CRAN repository.

Usage

get_ref_min_incl_cran(remote_ref, op = "", op_ver = "")

# S3 method for class 'remote_ref'
get_ref_min_incl_cran(remote_ref, op = "", op_ver = "")

# S3 method for class 'remote_ref_github'
get_ref_min_incl_cran(remote_ref, op = "", op_ver = "")

Arguments

remote_ref

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

op

(character(1)) optional, version condition comparison operator (e.g. ">", ">=")

op_ver

(character(1)) optional, version number against which op argument is applied

Value

(remote_ref) object with the package reference

See also

get_ref_min_incl_cran()

Examples

if (FALSE) { # Sys.getenv("R_USER_CACHE_DIR", "") != ""
verdepcheck:::get_ref_min_incl_cran(pkgdepends::parse_pkg_ref("dplyr"))
}
verdepcheck:::get_ref_min_incl_cran(pkgdepends::parse_pkg_ref("bioc::MultiAssayExperiment"))
#> $package
#> [1] "MultiAssayExperiment"
#> 
#> $atleast
#> [1] ""
#> 
#> $version
#> [1] ""
#> 
#> $ref
#> [1] "bioc::MultiAssayExperiment"
#> 
#> $type
#> [1] "bioc"
#> 
#> $params
#> character(0)
#> 
#> attr(,"class")
#> [1] "remote_ref_bioc" "remote_ref"      "list"           
if (FALSE) { # Sys.getenv("R_USER_CACHE_DIR", "") != ""
verdepcheck:::get_ref_min_incl_cran(pkgdepends::parse_pkg_ref("tidyverse/dplyr"))
}