Running ‘test-all.R’
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > library(benthos)
  > test_check("benthos")
  Saving _problems/test-indicators-208.R
  Saving _problems/test-indicators-243.R
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 139 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-indicators.R:436:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-indicators.R:201:5'): 'AMBI-index' has been correctly implemented ──
  <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-indicators.R:201:5
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─benthos::ambi(...)
    5. │ └─benthos::ambi_(.data, lazy(taxon), lazy(count), lazy(group))
    6. │   └─d %>% select_(~GROUP, ~COUNT) %>% filter_(~!is.na(GROUP))
    7. └─dplyr::filter_(., ~!is.na(GROUP))
    8.   └─dplyr:::lazy_defunct("filter")
    9.     └─lifecycle::deprecate_stop(...)
   10.       └─lifecycle:::deprecate_stop0(msg)
   11.         └─rlang::cnd_signal(...)
  ── Error ('test-indicators.R:236:5'): 'ITI-index' has been correctly implemented ──
  <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-indicators.R:236:5
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─benthos::iti(...)
    5. │ └─benthos::iti_(.data, lazy(taxon), lazy(count), lazy(group))
    6. │   └─d %>% select_(~GROUP, ~COUNT) %>% filter_(~!is.na(GROUP))
    7. └─dplyr::filter_(., ~!is.na(GROUP))
    8.   └─dplyr:::lazy_defunct("filter")
    9.     └─lifecycle::deprecate_stop(...)
   10.       └─lifecycle:::deprecate_stop0(msg)
   11.         └─rlang::cnd_signal(...)
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 139 ]
  Error:
  ! Test failures.
  Execution halted