packageDiff-package: Package Diff

Description Details Author(s) See Also Examples

Description

It provides utility functions for investigating changes within R packages. The pkgInfo function extracts package information such as exported and non-exported functions as well as their arguments. The pkgDiff function compares this information for two versions of a package and creates a diff file viewable in a browser.

Details

This package is experimental. Please submit bugs to https://github.com/couthcommander/packageDiff.

Author(s)

Cole Beck cole.beck@vumc.org

Maintainer: Cole Beck cole.beck@vumc.org

See Also

Useful links:

Examples

1
2
3
4
5
6
7
8
9
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)

a <- pkgInfo('https://cran.r-project.org/src/contrib/Archive/yaml/yaml_2.1.18.tar.gz')
b <- pkgInfo('https://cran.r-project.org/src/contrib/Archive/yaml/yaml_2.1.19.tar.gz')
pkgDiff(a, b)

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