Running ‘testthat.R’ [3s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dbplot)
  > library(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
  
  > library(ggplot2)
  > 
  > test_check("dbplot")
  Saving _problems/test-boxplots-4.R
  Saving _problems/test-boxplots-8.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-boxplots.R:4:3'): dbplot_boxplot() returns a ggplot ────────────
  <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_is(dbplot_boxplot(mtcars, am, mpg), "ggplot") at test-boxplots.R:4:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─dbplot:::dbplot_boxplot(mtcars, am, mpg)
    5.   └─dbplot::db_compute_boxplot(...)
    6.     ├─dplyr::group_by(data, !!!x, add = TRUE)
    7.     └─dplyr:::group_by.data.frame(data, !!!x, add = TRUE)
    8.       └─dplyr::group_by_prepare(.data, ..., .add = .add, error_call = current_env())
    9.         └─lifecycle::deprecate_stop("1.0.0", "group_by(add = )", "group_by(.add = )")
   10.           └─lifecycle:::deprecate_stop0(msg)
   11.             └─rlang::cnd_signal(...)
  ── Error ('test-boxplots.R:8:3'): db_compute_boxplot() returns the right number of rows ──
  <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_equal(...) at test-boxplots.R:8:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::nrow(db_compute_boxplot(mtcars, am, mpg))
    5. └─dbplot::db_compute_boxplot(mtcars, am, mpg)
    6.   ├─dplyr::group_by(data, !!!x, add = TRUE)
    7.   └─dplyr:::group_by.data.frame(data, !!!x, add = TRUE)
    8.     └─dplyr::group_by_prepare(.data, ..., .add = .add, error_call = current_env())
    9.       └─lifecycle::deprecate_stop("1.0.0", "group_by(add = )", "group_by(.add = )")
   10.         └─lifecycle:::deprecate_stop0(msg)
   11.           └─rlang::cnd_signal(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
  Error:
  ! Test failures.
  Execution halted