Skip to content

Conversation

@hcirellu
Copy link
Collaborator

This PR adds support for set operations, i.e. union, intersect, setdiff, setequal and is.element, for integer64. Since in base these are functions, I used a regular overload and not an s3 method dispatch.

main

union(as.integer64(1L), 1L)
# [1] 4.940656e-324  1.000000e+00

this PR

union(as.integer64(1L), 1L)
# integer64
# [1] 1

Closes #182

(styling: I removed 6 white spaces.)

@hcirellu hcirellu marked this pull request as ready for review January 14, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for union(), setdiff(), intersect() and setequal()

3 participants