Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

compare_proxy

Proxy for waldo comparison


Description

Use this generic to override waldo's default comparison if you need to override the defaults (typically because your object contains an external pointer).

waldo comes with methods for two common cases:

  • data.table: the .internal.selfref attribute is set to NULL. This is an external pointer that is used for performance optimisation, and doesn't affect the data.

  • xml2::xml_node: the underlying XML data is stored in memory in C, behind an external pointer, so the we best can do is to convert the object to a string.

Usage

compare_proxy(x)

Arguments

x

An object.


waldo

Find Differences Between R Objects

v0.2.5
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.