Skip to content

Attributes lost on dplyr::mutate and dplyr::filter #7

Description

@ashiklom

These are common operations that should really preserve attributes. However, because of the way they are implemented in dplyr (with an underlying call to C code), all attributes are lost following these operations.

I think a similar pattern to the one you currently have -- extract the attributes, call NextMethod, and re-assign the attributes -- should work fine, so it should be straightforward to implement.

Activity

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