pkgDiff: Package Diff

Description Usage Arguments Details Value Examples

View source: R/pkgDiff.R

Description

This function compares version changes within packages.

Usage

1
2
pkgDiff(a, b, doc = TRUE, src = TRUE, vignettes = TRUE,
  tests = TRUE, demo = TRUE, width = 80)

Arguments

a

First package, a ‘pkgInfo’ object.

b

Second package, a ‘pkgInfo’ object.

doc

Include documentation in diff output.

src

Include src files in diff output

vignettes

Include vignette files in diff output

tests

Include test files in diff output

demo

Include demo files in diff output

width

Output width.

Details

Generate diffs between package information.

Value

‘diffr’ object is open in browser

Examples

1
2
3
4
5
tar1 <- system.file("examples", "yaml_2.1.18.tar.gz", package = "packageDiff")
tar2 <- system.file("examples", "yaml_2.1.19.tar.gz", package = "packageDiff")
a <- pkgInfo(tar1)
b <- pkgInfo(tar2)
pkgDiff(a, b)

couthcommander/packageDiff documentation built on April 12, 2020, 3:59 p.m.