Learn R Programming

courieR (version 0.2.2)

inventory: Compare two package libraries

Description

Compare two package libraries

Usage

inventory(source_pkgs, target_pkgs)

Value

A list of data.tables and a summary data.frame

Arguments

source_pkgs

data.table from manifest

target_pkgs

data.table from manifest

Examples

Run this code
src <- data.table::data.table(
  package  = c("dplyr", "ggplot2"),
  version  = c("1.1.4", "3.5.1"),
  priority = NA_character_
)
tgt <- data.table::data.table(
  package = "dplyr",
  version = "1.0.0"
)
inventory(src, tgt)

Run the code above in your browser using DataLab