Running ‘testthat.R’ [5s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(strapgod)
  
  Attaching package: 'strapgod'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("strapgod")
  ── 1. Failure: bind_rows() fails sadly (@test-dplyr-compat.R#341)  ─────────────
  `bind_rows(x, iris)` did not throw an error.
  
  ── 2. Failure: bind_cols() works (@test-dplyr-compat.R#354)  ───────────────────
  `x_bc_1` inherits from `tbl_df/tbl/data.frame` not `resampled_df`.
  
  ── 3. Failure: bind_cols() works (@test-dplyr-compat.R#366)  ───────────────────
  nrow(collect(x_bc_1)) not equal to 300.
  1/1 mismatches
  [1] 150 - 300 == -150
  
  ── 4. Error: group_modify() (@test-dplyr-group-funs.R#43)  ─────────────────────
  The returned data frame cannot contain the original grouping variables: .bootstrap.
  Backtrace:
   1. testthat::expect_equal(group_modify(x, ~.x), collect(x))
   5. dplyr:::group_modify.grouped_df(x, ~.x)
   7. dplyr:::group_map.data.frame(.data, fun, .keep = .keep)
   8. dplyr:::map2(chunks, group_keys, .f, ...)
   9. base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
  
  ── 5. Failure: group_map() (@test-dplyr-group-funs.R#66)  ──────────────────────
  group_map(x, ~.x) not equivalent to group_split(x, keep = FALSE).
  Component 1: Length mismatch: comparison on first 5 components
  Component 1: Component 1: Mean relative difference: 4.862667
  Component 1: Component 2: Mean relative difference: 0.4760064
  Component 1: Component 3: Mean relative difference: 0.6599392
  Component 1: Component 4: Mean relative difference: 0.6809784
  Component 1: Component 5: target is numeric, current is factor
  Component 2: Length mismatch: comparison on first 5 components
  Component 2: Component 1: Mean relative difference: 1.949333
  Component 2: Component 2: Mean relative difference: 0.4806736
  ...
  
  ── 6. Failure: group_walk() (@test-dplyr-group-funs.R#106)  ────────────────────
  `res` not equal to select(ungroup(collect(x)), -.bootstrap).
  Names: 5 string mismatches
  Length mismatch: comparison on first 5 components
  Component 1: Mean relative difference: 0.9688838
  Component 2: Mean relative difference: 0.4771065
  Component 3: Mean relative difference: 0.6593879
  Component 4: Mean relative difference: 0.6867756
  Component 5: Attributes: < target is NULL, current is list >
  Component 5: target is numeric, current is factor
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 147 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 6 ]
  1. Failure: bind_rows() fails sadly (@test-dplyr-compat.R#341) 
  2. Failure: bind_cols() works (@test-dplyr-compat.R#354) 
  3. Failure: bind_cols() works (@test-dplyr-compat.R#366) 
  4. Error: group_modify() (@test-dplyr-group-funs.R#43) 
  5. Failure: group_map() (@test-dplyr-group-funs.R#66) 
  6. Failure: group_walk() (@test-dplyr-group-funs.R#106) 
  
  Error: testthat unit tests failed
  Execution halted