Skip to content

brodieG/diffobj

Repository files navigation

diffobj - Diffs for R Objects

R build status Dependencies direct/recursive

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:

Output 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

About

Compare R Objects with a Diff

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages