Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(chunked)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("chunked")
  Saving _problems/test-verbs-44.R
  Saving _problems/test-verbs-112.R
  [ FAIL 3 | WARN 0 | SKIP 1 | PASS 41 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test-read.R:6:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-print.R:16:7'): print groups / should print groups chunked info ──
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: The `add` argument of `group_by()` was deprecated in dplyr 1.0.0 and is
  now defunct.
  ℹ Please use the `.add` argument instead.
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-print.R:15:5
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_output(print(tbl_iris), "^Source: chunked text file") at test-print.R:16:7
    4. │ └─testthat:::quasi_capture(...)
    5. │   ├─testthat (local) .capture(...)
    6. │   │ └─testthat::capture_output_lines(code, print, width = width)
    7. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    8. │   │     ├─withr::with_output_sink(path, withVisible(code))
    9. │   │     │ └─base::force(code)
   10. │   │     └─base::withVisible(code)
   11. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   12. ├─base::print(tbl_iris)
   13. └─chunked:::print.chunkwise(tbl_iris)
   14.   └─chunked:::head.chunkwise(x)
   15.     └─x$first_chunk(x$cmds)
   16.       └─chunked (local) next_chunk(cmds)
   17.         └─chunked:::play(ch, cmds)
   18.           └─base::eval(expr, list(.data = .data), enclos = env)
   19.             └─base::eval(expr, list(.data = .data), enclos = env)
   20.               ├─dplyr::group_by(.data, Species, add = FALSE)
   21.               └─dplyr:::group_by.data.frame(.data, Species, add = FALSE)
   22.                 └─dplyr::group_by_prepare(.data, ..., .add = .add, error_call = current_env())
   23.                   └─lifecycle::deprecate_stop("1.0.0", "group_by(add = )", "group_by(.add = )")
   24.                     └─lifecycle:::deprecate_stop0(msg)
   25.                       └─rlang::cnd_signal(...)
  ── Error ('test-verbs.R:44:3'): groups() ───────────────────────────────────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: The `add` argument of `group_by()` was deprecated in dplyr 1.0.0 and is
  now defunct.
  ℹ Please use the `.add` argument instead.
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(g <- groups(ir)) at test-verbs.R:44:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─dplyr::groups(ir)
    7. └─chunked:::groups.chunkwise(ir)
    8.   ├─dplyr::groups(collect(x, first_chunk_only = TRUE))
    9.   ├─dplyr::collect(x, first_chunk_only = TRUE)
   10.   └─chunked:::collect.chunkwise(x, first_chunk_only = TRUE)
   11.     └─x$first_chunk(cmds, x$.warn)
   12.       └─chunked (local) next_chunk(cmds)
   13.         └─chunked:::play(ch, cmds)
   14.           └─base::eval(expr, list(.data = .data), enclos = env)
   15.             └─base::eval(expr, list(.data = .data), enclos = env)
   16.               ├─dplyr::group_by(.data, Species, add = FALSE)
   17.               └─dplyr:::group_by.data.frame(.data, Species, add = FALSE)
   18.                 └─dplyr::group_by_prepare(.data, ..., .add = .add, error_call = current_env())
   19.                   └─lifecycle::deprecate_stop("1.0.0", "group_by(add = )", "group_by(.add = )")
   20.                     └─lifecycle:::deprecate_stop0(msg)
   21.                       └─rlang::cnd_signal(...)
  ── Error ('test-verbs.R:112:3'): group_by ──────────────────────────────────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: The `add` argument of `group_by()` was deprecated in dplyr 1.0.0 and is
  now defunct.
  ℹ Please use the `.add` argument instead.
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-verbs.R:112:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─ir %>% summarise(m = mean(Sepal.Width), n = n()) %>% ...
    7. ├─base::as.data.frame(.)
    8. └─chunked:::as.data.frame.chunkwise(.)
    9.   ├─base::as.data.frame(...)
   10.   ├─dplyr::collect(x)
   11.   └─chunked:::collect.chunkwise(x)
   12.     └─x$first_chunk(cmds, x$.warn)
   13.       └─chunked (local) next_chunk(cmds)
   14.         └─chunked:::play(ch, cmds)
   15.           └─base::eval(expr, list(.data = .data), enclos = env)
   16.             └─base::eval(expr, list(.data = .data), enclos = env)
   17.               ├─dplyr::group_by(.data, Species, add = FALSE)
   18.               └─dplyr:::group_by.data.frame(.data, Species, add = FALSE)
   19.                 └─dplyr::group_by_prepare(.data, ..., .add = .add, error_call = current_env())
   20.                   └─lifecycle::deprecate_stop("1.0.0", "group_by(add = )", "group_by(.add = )")
   21.                     └─lifecycle:::deprecate_stop0(msg)
   22.                       └─rlang::cnd_signal(...)
  
  [ FAIL 3 | WARN 0 | SKIP 1 | PASS 41 ]
  Error:
  ! Test failures.
  Execution halted