Skip to content

comparing UUIDs fail when they differ #227

@billdenney

Description

@billdenney

Comparing UUIDs works when they are the same, but it fails when they differ. I think it would be preferable to have a fallback of some other sort to indicate the indices where the values differ rather than a failure.

uuid1 <- uuid::UUIDgenerate(output = "uuid")
waldo::compare(uuid1, uuid1)
#> ✔ No differences
waldo::compare(uuid1, uuid::UUIDgenerate(output = "uuid"))
#> Error in Complex.UUID(x): Re is not supported on UUIDs

Created on 2025-10-23 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions