tests/testthat/_snaps/partydf.md

can construct and print partydf

Code
  df
Output
  Source: party_df [20 x 1]
  Shards: 2 [10--10 rows]

  # A data frame: 20 x 1
        y
    <int>
  1     1
  2     2
  3     3
  4     4
  5     5
  6     6
  # i 14 more rows
Code
  group_by(df, y)
Output
  Source: party_df [20 x 1]
  Groups: y
  Shards: 2 [10--10 rows]

  # A data frame: 20 x 1
        y
    <int>
  1     1
  2     2
  3     3
  4     4
  5     5
  6     6
  # i 14 more rows

name must be data frame with same names

Code
  party_df(cl, "x")
Condition
  Error in `party_df()`:
  ! `x` does not exist on all workers
Code
  party_df(cl, "x")
Condition
  Error in `party_df()`:
  ! `x` is not a data frame on all workers
Code
  party_df(cl, "x")
Condition
  Error in `party_df()`:
  ! `x` does not have the same names on all workers


tidyverse/multidplyr documentation built on July 31, 2024, 1:01 a.m.