Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(fastbackward)
  > 
  > test_check("fastbackward")
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 4 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fastbackward.R:21:3'): Testing fastbackward with lm ────────────
  Error in `deviance(x) %||% extractAIC(x, k = 0)[2L]`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─fastbackward::fastbackward(fullmodel, trace = 0) at test-fastbackward.R:21:3
   2.   └─fastbackward (local) mydeviance(fit)
  ── Error ('test-fastbackward.R:83:3'): Testing fastbackward with lm ────────────
  Error in `deviance(x) %||% extractAIC(x, k = 0)[2L]`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─fastbackward::fastbackward(fullmodel, trace = 0, k = 0) at test-fastbackward.R:83:3
   2.   └─fastbackward (local) mydeviance(fit)
  ── Error ('test-fastbackward.R:167:3'): Testing fast backward with gamma regression ──
  Error in `deviance(x) %||% extractAIC(x, k = 0)[2L]`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─fastbackward::fastbackward(fullmodel, trace = 0) at test-fastbackward.R:167:3
   2.   └─fastbackward (local) mydeviance(fit)
  ── Error ('test-fastbackward.R:204:3'): Testing fast backward with logistic regression ──
  Error in `deviance(x) %||% extractAIC(x, k = 0)[2L]`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─fastbackward::fastbackward(fullmodel, trace = 0) at test-fastbackward.R:204:3
   2.   └─fastbackward (local) mydeviance(fit)
  ── Error ('test-fastbackward.R:242:3'): Testing fast backward with poisson regression ──
  Error in `deviance(x) %||% extractAIC(x, k = 0)[2L]`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─fastbackward::fastbackward(fullmodel, trace = 0) at test-fastbackward.R:242:3
   2.   └─fastbackward (local) mydeviance(fit)
  ── Error ('test-fastbackwardscope.R:22:3'): Testing scope argument ─────────────
  Error in `deviance(x) %||% extractAIC(x, k = 0)[2L]`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─fastbackward::fastbackward(fullmodel, trace = 0, scope = formula("y ~ 1")) at test-fastbackwardscope.R:22:3
   2.   └─fastbackward (local) mydeviance(fit)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 4 ]
  Error: Test failures
  Execution halted