Skip to content

Two updates to ?dplyr_extending #6695

Description

@DavisVaughan

https://dplyr.tidyverse.org/reference/dplyr_extending.html


If you have data frame attributes that don't depend on the rows or columns (and should unconditionally be preserved), you don't need to do anything.

If you extend a "data.frame" rather than a tibble, then you need to provide a [.class method to make it preserve attributes. See #6689 and #6691


Current usage section for mutate() should be updated to also include that it uses 1-D [ to implement .keep, and that is unconditionally called even if keeping everything.


Maybe do a pass through everything in Current usage to see if we are up to date

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions