Learn R Programming

packageDiff (version 0.1)

pkgDiff: Package Diff

Description

This function compares version changes within packages.

Usage

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.

Value

‘diffr’ object is open in browser

Details

Generate diffs between package information.

Examples

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab