powered by
Check installed and latest available versions of R packages across CRAN, Bioconductor, and GitHub. Supports case-insensitive matching.
pkg_version(pkg, preview = TRUE)
A data.frame with columns: package, version (installed), latest (available), and source.
package
version
latest
source
Character vector. Package names to check.
Logical. If TRUE (default), print result to console.
if (FALSE) { # Check versions of multiple packages: pkg_version(c("ggplot2", "dplyr")) # Check without console preview: result <- pkg_version(c("ggplot2", "limma"), preview = FALSE) }
Run the code above in your browser using DataLab