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.




An object.