Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [122s/141s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(collinear)
  > 
  > test_check("collinear")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 114 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-preference_order.R:3:3'): `f_rf_auc_unbalanced()` works ────────
  Error in `f_rf_auc_unbalanced(x = "growing_season_length", y = "vi_binary", 
      df = vi)`: the function 'f_fr_deviance()' requires the package 'ranger'. Please install it first.
  Backtrace:
      ▆
   1. └─collinear::f_rf_auc_unbalanced(...) at test-preference_order.R:3:3
  ── Error ('test-preference_order.R:11:3'): `f_rf_auc_balanced()` works ─────────
  Error in `f_rf_auc_balanced(x = "growing_season_length", y = "vi_binary", 
      df = vi)`: the function 'f_fr_deviance()' requires the package 'ranger'. Please install it first.
  Backtrace:
      ▆
   1. └─collinear::f_rf_auc_balanced(...) at test-preference_order.R:11:3
  ── Error ('test-preference_order.R:58:3'): `f_rf_deviance()` works ─────────────
  Error in `f_rf_deviance(x = "growing_season_length", y = "vi_mean", df = vi)`: the function 'f_fr_deviance()' requires the package 'ranger'. Please install it first.
  Backtrace:
      ▆
   1. └─collinear::f_rf_deviance(...) at test-preference_order.R:58:3
  ── Error ('test-preference_order.R:65:3'): `f_rf_rsquared()` works ─────────────
  Error in `f_rf_rsquared(x = "growing_season_length", y = "vi_mean", df = vi)`: the function 'f_fr_deviance()' requires the package 'ranger'. Please install it first.
  Backtrace:
      ▆
   1. └─collinear::f_rf_rsquared(...) at test-preference_order.R:65:3
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 114 ]
  Error: Test failures
  Execution halted