waldo (development version) Unreleased

waldo 0.2.2 2020-10-15

  • Handle S4 objects that have attributes that are not slots.

  • Additions are now coloured blue and deletions yellow (instead of the opposite).

waldo 0.2.1 2020-10-08

  • compare() now labels output as old and new, since that’s the most natural way to use it.

  • compare() can selectively ignore attributes by providing vector to ignore_attr (#45).

  • print() method gets n argument to allow explicitly specifying number of differences to show (@mnazarov).

  • Improvements to comparison display:

    • Zero length vectors compare robustly (#39)

    • Line-by-line comparisons show modifications as deletion then addition, rather than addition then deletion (#44).

    • Differences between numeric vectors are more robust, particularly in the presence of missing values (#43). The number of digits selected has also been slightly improved so that you’re more likely to get exactly the number of digits needed.

waldo 0.2.0 2020-07-13

  • All objects: class (#26) and names (#31) are ignored when ignoring attributes.

  • Numeric and logical vectors: clearer display of differences. Numbers are right-aligned, and we show the numbers not the differences.

  • Character vectors: a trailing newline is no longer ignored (#37).

  • Lists: all elements of the unnamed lists are compared, not just the last! (#32)

  • Lists: unclassed prior to comparison (#21).

  • Data frames: The internal representation of row names is no longer used; instead we use the same result of rownames() (#23).

  • Environments: New ignore_formula_env and ignore_function_env arguments to ignore formula and function environments for compatibility with all.equal() (#24).

  • Expression objects: can now be compared (#29).

  • Calls: srcrefs and attributes are ignored.

  • compare_proxy() is now exported so that you can provide methods if your objects need special handling (particularly needed for objects that contain external pointers) (#22).

  • Fixed a partial argument name in as.list().

waldo 0.1.0 2020-04-16

  • Added a NEWS.md file to track changes to the package.