Skip to content

Shouldn't setequal ignore duplicates?  #6057

@juangomezduaso

Description

@juangomezduaso

I thought that being in the group of set operations, setequal() would deem things like, say, mtcars and bind_rows(mtcars, mtcars) as equal, but it doesn´t.
i suppose this is the intended behavior, but in that case: Souldn´t this be explained somewhere in the documentation? My apologies if it already is, as I was unable to find it.
Taking into account that Rbase behavior in vectors ignores duplicates (and so bind_rows(mtcars,mtcars)[[1]] and mtcars[[1]] are equal) I think this clarification would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviortables 🧮joins and set operations

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions