Learn R Programming

pacs (version 0.6.0)

pac_last: Getting the most recent package version

Description

using utils::available.packages to get the newest package version.

Usage

pac_last(pac, repos = biocran_repos())

Value

character most recent package version.

Arguments

pac

character a package name.

repos

character vector of repositories URLs to use. By default checking CRAN and newest Bioconductor per R version. Default pacs::biocran_repos()

Examples

Run this code
if (FALSE) {
pac_last("dplyr")
pac_last("S4Vectors")
}

Run the code above in your browser using DataLab