using utils::available.packages
to get the newest package version.
pac_last(pac, repos = biocran_repos())
character
a package name.
character
vector of repositories URLs to use. By default checking CRAN and newest Bioconductor per R version. Default pacs::biocran_repos()
character
most recent package version.
Results are cached for 30 minutes with memoise
package.
For Bioconductor the newest one per R version.
if (FALSE) { # \dontrun{
pac_last("dplyr")
pac_last("S4Vectors")
} # }