Skip to content

comparing UUIDs fail when they differ #227

Open

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

Activity

  1. added a commit that references this issue on Oct 24, 2025
    da3da86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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