Skip to content

Implement reframe()  #143

@domq

Description

@domq

This is a successor to #102 of sorts.

  • What I am trying to do:
    library(dplyr)
    library(multidplyr)
    # install.packages("broom")
    
    cluster <- new_cluster(2)
    iris %>% group_by(Species) %>% partition(cluster) %>% reframe(broom::tidy(lm(Petal.Length ~ Sepal.Length)))
  • What I expect: the same data frame that I obtain when doing that without the %>% partition(cluster) part (modulo performance).
  • What I get instead:
    Error in UseMethod("reframe") :
    no applicable method for 'reframe' applied to an object of class "multidplyr_party_df"
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions