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
- R Core for developing and maintaining such a wonderful language.
- CRAN maintainers, for patiently shepherding packages onto CRAN and maintaining
the repository, and Uwe Ligges in particular for maintaining
Winbuilder.
- The users who have reported bugs and possible fixes, and/or made feature
requests (see NEWS.md).
- Gábor Csárdi for
crayon.
- Jim Hester for
covr, and with Rstudio for
r-lib/actions.
- Dirk Eddelbuettel and Carl
Boettiger for the
rocker project, and Gábor
Csárdi and the
R-consortium for
Rhub, without which testing bugs on R-devel and
other platforms would be a nightmare.
- Hadley Wickham and Peter
Danenberg for
roxygen2.
- Yihui Xie for
knitr and J.J.
Allaire etal for
rmarkdown, and by extension
John MacFarlane for pandoc.
- Olaf Mersmann for
microbenchmark, because
microsecond matter, and Joshua Ulrich for
making it lightweight and maintaining it.
- Tomas Kalibera for
rchk and the accompanying vagrant image,
and rcnst to help detect errors in compiled code.
- Winston Chang for the
r-debug docker container, in
particular because of the valgrind level 2 instrumented version of R.
- Gábor Csárdi, the
R-consortium, etal for
revdepcheck to simplify reverse
dependency checks.
- All open source developers out there that make their work freely available
for others to use.
- Github, Codecov,
Vagrant, Docker,
Ubuntu, Brew for providing
infrastructure that greatly simplifies open source development.
- Free Software Foundation for developing the GPL
license and promotion of the free software movement.