pkgDiff: Package Diff

Description Usage Arguments Details Value Examples

View source: R/pkgDiff.R

Description

This function compares version changes within packages.

Usage

1
pkgDiff(a, b, doc = TRUE, width = 80)

Arguments

a

First package, a ‘pkgInfo’ object.

b

Second package, a ‘pkgInfo’ object.

doc

Include documentation 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)

packageDiff documentation built on Jan. 16, 2020, 5 p.m.