diffobj - Diffs for R Objects
Generate a colorized diff of two R objects for an intuitive visualization of their differences.
See vignettes for details, and for comparisons with standard comparison functions.
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")
vignette("diffobj", package="diffobj")
Development
Go to Github to report issues or if you
are interested in development versions of this package. The master
branch is
considered stable. If you want to submit a PR please do so against the
development
branch.
Related Software
- tools::Rdiff
- Daff diff, patch and merge for data.frames
- GNU diff