./devel/R-waldo, Find Differences Between R Objects

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.5.3, Package name: R-waldo-0.5.3, Maintainer: pkgsrc-users

Compare complex R objects and reveal the key differences. Designed
particularly for use in testing packages where being able to quickly
isolate key differences makes understanding test failures much easier.


Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-01-23 14:32:35 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(devel/R-waldo) Remove duplicated line, sorry
   2024-01-23 14:31:10 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-waldo) Updated 0.5.1 to 0.5.2, make test passed.

# waldo 0.5.2

* Fixes for upcoming R-devel changes.
   2023-06-11 11:11:57 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-waldo) Updated 0.4.0 to 0.5.1

# waldo 0.5.1

* Tolerance is also taken into account when displaying differences (#173).

* `NA_real_` and `NaN` are only treated as non-equal when tolerance is
  non-null. That means that `testthat::expect_equal(NaN, NA_real_)` will
  pass but `testthat::expect_identical(NaN, NA_real_)` will fail (#174).

# waldo 0.5.0

* You can opt-out of quoting strings with `quote_strings = FALSE` (#145).

* Improvements to missing value handling:

  * `NA_character_` and `"NA"` are no longer treated as equal (#162).

  * `NA_real_` and `NaN` are no longer treated as equal (@sorhawell, #150).

  * Leading and trailing `NA`s are no longer omitted from output when the
    lengths of `x` and `y` are unequal (#109).

* The `balanced` attribute used by some `POSIXlt` objects in R 4.3 and greater
  is now ignored (#160).

* 3d (and greater) numeric arrays no longer cause an error (#148).

* Support for complex numbers is improved (#146).

* `ignore_attr = "class"` now works for more types of input (#143).
   2022-04-26 16:37:23 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-waldo) Updated 0.3.1 to 0.4.0

# waldo 0.4.0

* Atomic S3 classes with format methods now use those methods when
  displaying comparisons (#98). If the printed representation is the
  same, they fallback to displaying the underlying data.

* Rowwise data frame comparisons are now much much faster (#116),
  and respect the `max_diffs` argument (@krlmlr, #110).

* Unnamed environments now compare by value, not by reference (i.e. if
  two environments contain the same values, they compare the same, even
  if they're different environments) (#127). Environments that contain
  self-references are handled correctly (#117). Differences between pairs
  of environments are only ever reported once.

* In the unlikely event that you have bare CHARSXP objects, waldo now
  handles them (#121).

* S4 objects are labelled with their class, not all superclasses (#125).

* `compare_proxy()` ignores the `"index"` attribute for data tables
  (@krlmlr, #107), and works again for `RProtoBuf`  objects
  (@MichaelChirico, #119)

* Infinite values can be compared with a tolerance (@dmurdoch, #122).
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-09-18 16:27:43 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/waldo) Updated 0.3.0 to 0.3 1

# waldo 0.3.1

* `compare()`ing data frames now works independently of `option(max.print)`
  (#105).

* Fixed regression when comparing vectors with missing values (#102).
   2021-09-08 12:44:19 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(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).