diffobj - Diffs for R Objects

Generate a colorized diff of two R objects for an intuitive visualization of their differences.

See the introductory vignette for details.

Output

If your terminal supports formatting through ANSI escape sequences, diffobj will output colored diffs to the terminal. Otherwise, output will be colored with HTML/CSS and sent to the IDE viewport or to your browser. diffobj comes with several built-in color schemes that can be further customized. Some examples:

Installation

This package is available on CRAN.

install.packages("diffobj")
browseVignettes("diffobj")

Related Software

  • tools::Rdiff.
  • Daff diff, patch and merge for data.frames.
  • GNU diff.
  • waldo, which internally uses diffobj for diffs but takes a more hands-on approach to detailing object differences.

Acknowledgements

Copy Link

Version

Down Chevron

Install

install.packages('diffobj')

Monthly Downloads

428,665

Version

0.3.5

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 5th, 2021

Functions in diffobj (0.3.5)