Running ‘testthat.R’ [15s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(useful)
  Loading required package: ggplot2
  > 
  > test_check("useful")
  Error in detach("package:coefplot", unload = TRUE) : 
    invalid 'name' argument
  Saving _problems/test-move-cols-37.R
  Saving _problems/test-move-cols-46.R
  Saving _problems/test-move-cols-55.R
  Saving _problems/test-unique-7.R
  [ FAIL 4 | WARN 7 | SKIP 2 | PASS 721 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-load-packages.R:11:5', 'test-load-packages.R:18:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-move-cols.r:37:5'): cols to front/back returns data.frame ──────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `select_()` was deprecated in dplyr 0.7.0 and is now defunct.
  ℹ Please use `select()` instead.
  Backtrace:
       ▆
    1. ├─testthat::expect_is(moveToFront(theDF, c("B", "C")), "data.frame") at test-move-cols.r:37:5
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─useful::moveToFront(theDF, c("B", "C"))
    5. │ └─data %>% select_(.dots = colOrder)
    6. └─dplyr::select_(., .dots = colOrder)
    7.   └─dplyr:::lazy_defunct("select", hint = FALSE)
    8.     └─lifecycle::deprecate_stop(...)
    9.       └─lifecycle:::deprecate_stop0(msg)
   10.         └─rlang::cnd_signal(...)
  ── Error ('test-move-cols.r:46:5'): cols to front/back returns the right dimension ──
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `select_()` was deprecated in dplyr 0.7.0 and is now defunct.
  ℹ Please use `select()` instead.
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-move-cols.r:46:5
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─useful::moveToFront(theDF, c("B", "C"))
    5. │ └─data %>% select_(.dots = colOrder)
    6. └─dplyr::select_(., .dots = colOrder)
    7.   └─dplyr:::lazy_defunct("select", hint = FALSE)
    8.     └─lifecycle::deprecate_stop(...)
    9.       └─lifecycle:::deprecate_stop0(msg)
   10.         └─rlang::cnd_signal(...)
  ── Error ('test-move-cols.r:55:5'): cols to front/back returns the right names ──
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `select_()` was deprecated in dplyr 0.7.0 and is now defunct.
  ℹ Please use `select()` instead.
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-move-cols.r:55:5
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─useful::moveToFront(theDF, c("B", "C"))
    5. │ └─data %>% select_(.dots = colOrder)
    6. └─dplyr::select_(., .dots = colOrder)
    7.   └─dplyr:::lazy_defunct("select", hint = FALSE)
    8.     └─lifecycle::deprecate_stop(...)
    9.       └─lifecycle:::deprecate_stop0(msg)
   10.         └─rlang::cnd_signal(...)
  ── Error ('test-unique.R:7:1'): (code run outside of `test_that()`) ────────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `as.tbl()` was deprecated in dplyr 1.0.0 and is now defunct.
  ℹ Please use `tibble::as_tibble()` instead.
  Backtrace:
      ▆
   1. └─dplyr::as.tbl(...) at test-unique.R:7:1
   2.   └─lifecycle::deprecate_stop("1.0.0", "as.tbl()", "tibble::as_tibble()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  
  [ FAIL 4 | WARN 7 | SKIP 2 | PASS 721 ]
  Error:
  ! Test failures.
  Execution halted