Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(LAGOSNE)
  > 
  > test_check("LAGOSNE")
  Saving _problems/test-lake_info-8.R
  Saving _problems/test-lake_info-41.R
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 3 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • On CRAN (11): 'test-info_table.R:4:3', 'test-lagos_get.R:5:3',
    'test-lagos_get.R:15:3', 'test-lagos_load.R:5:3', 'test-lagos_load.R:17:3',
    'test-lagos_load.R:28:3', 'test-lagos_select.R:5:3',
    'test-lagos_select.R:101:3', 'test-lake_info.R:17:3',
    'test-lake_info.R:27:3', 'test_display-names.R:5:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lake_info.R:7:3'): lake_info works ─────────────────────────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `filter_()` was deprecated in dplyr 0.7.0 and is now defunct.
  ℹ Please use `filter()` instead.
  ℹ See vignette('programming') for more help
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-lake_info.R:7:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::nrow(lake_info(name = "Pine Lake", state = "Iowa", dt = dt))
    5. └─LAGOSNE::lake_info(name = "Pine Lake", state = "Iowa", dt = dt)
    6.   ├─base::do.call(...)
    7.   └─base::apply(...)
    8.     └─LAGOSNE (local) FUN(newX[, i], ...)
    9.       └─LAGOSNE:::lake_info_(...)
   10.         └─dplyr::filter_(dt_filter, filter_criteria)
   11.           └─dplyr:::lazy_defunct("filter")
   12.             └─lifecycle::deprecate_stop(...)
   13.               └─lifecycle:::deprecate_stop0(msg)
   14.                 └─rlang::cnd_signal(...)
  ── Failure ('test-lake_info.R:40:3'): lake_info fails well ─────────────────────
  `lake_info(name = "gibberish", state = "Wisconsin", dt = dt)` threw an error with unexpected message.
  Expected match: "Lake 'gibberish' in Wisconsin not found"
  Actual message: "`filter_()` was deprecated in dplyr 0.7.0 and is now defunct.\nℹ Please use `filter()` instead.\nℹ See vignette('programming') for more help"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-lake_info.R:40: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. └─LAGOSNE::lake_info(name = "gibberish", state = "Wisconsin", dt = dt)
    7.   ├─base::do.call(...)
    8.   └─base::apply(...)
    9.     └─LAGOSNE (local) FUN(newX[, i], ...)
   10.       └─LAGOSNE:::lake_info_(...)
   11.         └─dplyr::filter_(dt_filter, filter_criteria)
   12.           └─dplyr:::lazy_defunct("filter")
   13.             └─lifecycle::deprecate_stop(...)
   14.               └─lifecycle:::deprecate_stop0(msg)
   15.                 └─rlang::cnd_signal(...)
  
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 3 ]
  Error:
  ! Test failures.
  Execution halted