Learn R Programming

dwtools (version 0.8.3.9)

pkgsVersion: pkgsVersion

Description

Batch package version compare between libraries.

Usage

pkgsVersion(pkgs, libs = .libPaths())

Arguments

pkgs
character vector of packages names.
libs
character vector of libraries paths to compare, vector names will be column names.

Examples

Run this code
suppressPackageStartupMessages(library(dwtools))

pkgs <- c("dplyr","data.table","RSQLite","dwtools")
pkgsVersion(pkgs)

# custom libraries
pkgsVersion(pkgs, libs = c(dev = .libPaths()[1], prod = .libPaths()[2]))

Run the code above in your browser using DataLab