Commit bc8ca12
mef
(devel/R-waldo) Updated 0.2.5 to 0.3.0, make test passes
# waldo 0.3.0
* `compare()` is now considerably faster when comparing complex objects that
don't have any differences (thanks to strategic use of `identical()`) (#86).
* `compare()` gains two improvements to low-level diffs:
* Structurally identical data frames (#78) and numeric matrices (#76) gain
a row-by-row diff that makes it easier to see where exactly values differ.
* An element-by-element diff will be automatically used if it's shorter than
the "smart" diff. This improves diff quality when comparing two vectors
that aren't really related (#68).
* `compare()` gains a `list_as_map` argument thanks to an idea from @dmurdoch.
It allows you to compare the behaviour of two lists when they are used to
connect names to values (i.e. the list is operating as a map or dictionary).
It removes `NULL`s and sorts named components (#72).
* The objects involved in `compare()` (as opposed to the caller of `compare()`)
gained much greater ability to control the comparison.
* Objects can now contain a `waldo_opts` attribute, a list with the same
names and valid values as the arguments to `compare()`, which overrides
the default comparisons (@dmurdoch).
* `compare_proxy()` is now called earlier (before type comparison) making
it more flexible (#65).
* `compare_proxy()` gains a second argument, `path`, used to report how the
proxy changed the object. This makes it easier to see when and how a proxy
is used (#73).
* Proxies now exist for comparing RProtoBuf objects, converting them to
proto text format (#82, @michaelquinn32).
* Comparing a list with symbol to a list without that element no longer errors
(@mgirlich, #79).1 parent 13fc1b9 commit bc8ca12
2 files changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments