checking if a package version is the most recent one, by default the installed version is compared.
Usage
pac_islast(pac, version = NULL, lib.loc = .libPaths(), repos = biocran_repos())Arguments
- pac
charactera package name.- version
characterversion of a package. Default:NULL- lib.loc
charactervector of search paths with local packages. Default:.libPaths()- repos
charactervector of repositories URLs to use. By default checking CRAN and newest Bioconductor per R version. Defaultpacs::biocran_repos()
Examples
if (FALSE) { # \dontrun{
pac_islast("memoise")
pac_islast("dplyr", version = "1.0.0")
pac_islast("S4Vectors")
pac_islast("S4Vectors", version = pac_last("S4Vectors"))
} # }