Skip to content

fsetequal treatment of dupes inconsistent with base #2968

@franknarf1

Description

@franknarf1

I mean:

library(data.table)
DT1 = data.table(x = "yeehaw")
DT2 = DT1[c(1,1)]

fsetequal(DT1, DT2) # FALSE
setequal(DT1$x, DT2$x) # TRUE

(Testing on an old version of data.table, but figured I'd file since I didn't see any issues filed on it and still see the same code up, missing calls to unique/funique.) EDIT: Just upgraded and am seeing the same behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions