8000 Releases Β· r-lib/waldo Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: r-lib/waldo

waldo 0.6.2

11 Jul 15:26
Compare
Choose a tag to compare
< 8000 ref-selector type="tag" query-endpoint="/r-lib/waldo/refs" cache-key="v0:1752247607.0" current-committish="djAuNi4y" default-branch="bWFpbg==" name-with-owner="ci1saWIvd2FsZG8=" prefetch-on-mouseover >
  • compare() now goes into more details if you're comparing an S3 object with
    a base object of the same type (#218).
  • compare() ignores read-only S7 properties, only comparing the underlying data
    stored in attributes (#219).
  • compare() can compare weakrefs.

waldo 0.6.1

07 Nov 20:58
Compare
Choose a tag to compare
  • Only use special bit64 comparison if package is installed.

waldo 0.6.0

04 Nov 17:58
Compare
Choose a tag to compare
  • waldo no longer imports tibble and rematch2 (@olivroy, #196), and
    requires R 4.0.0.

  • compare() now gives informative errors if you misspecify the argument types
    (#181).

  • compare() displays an extract digit in numeric comparisons, making it a bit
    easier to see the different (#141). It can also show numeric differences
    between int64 objects and integers/doubles when tolerance is set (#159).

  • compare() gains basic support for S7 objects (#200), and can now
    distinguish between objects that differ only in the value of their S4
    bit (#189).

  • compare(list_as_map = TRUE) now preserves attributes (#185).

waldo 0.5.3

27 Aug 22:12
Compare
Choose a tag to compare

waldo 0.5.2

02 Nov 13:40
Compare
Choose a tag to compare
  • Fixes for upcoming R-devel changes.

waldo 0.5.1

08 May 22:14
Compare
Choose a tag to compare
  • 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

01 May 15:55
Compare
Choose a tag to compare
  • 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 NAs 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).

waldo 0.4.0

16 Mar 22:28
Compare
Choose a tag to compare
  • 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).

waldo 0.3.1

14 Sep 18:25
Compare
Choose a tag to compare
  • compare()ing data frames now works independently of option(max.print)
    (#105).

  • Fixed regression when comparing vectors with missing values (#102).

waldo 0.3.0

23 Aug 14:03
Compare
Choose a tag to compare
  • 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 NULLs 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).

0