The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
A package to extend tinytest, a
lightweight, no-dependency, full-featured unit testing package, with diffobj which
compares R objects with proper
diff
semantics.
So it tests and compares and, in case of differences, provides informative results.
Glad you asked:
To test it out yourself, the code is in demo/expect_equal_with_diff.R.
If you don’t see the same results as above, you may need to manually
adjust the diffobj package options. Try
options(diffobj.format = "ansi256")
. See Controlling
Diffs and Their Appearance for more details.
The package is now on CRAN and can be installed via a standard
install.packages("ttdo")
Dirk Eddelbuettel and Alton Barbehenn
GPL (>= 2)
Mark van der Loo for the excellent tinytest package, Brodie Gaslam for the nifty diffobj package and Michel Lang for checkmate.tinytest demonstrating the extensions mechanism.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.