Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [79s/89s]
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(tidysdm)
  Loading required package: tidymodels
  ── Attaching packages ────────────────────────────────────── tidymodels 1.3.0 ──
  ✔ broom        1.0.9     ✔ recipes      1.3.1
  ✔ dials        1.4.1     ✔ rsample      1.3.1
  ✔ dplyr        1.1.4     ✔ tibble       3.3.0
  ✔ ggplot2      3.5.2     ✔ tidyr        1.3.1
  ✔ infer        1.0.9     ✔ tune         1.3.0
  ✔ modeldata    1.4.0     ✔ workflows    1.2.0
  ✔ parsnip      1.3.2     ✔ workflowsets 1.1.1
  ✔ purrr        1.1.0     ✔ yardstick    1.3.2
  ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
  ✖ purrr::discard() masks scales::discard()
  ✖ dplyr::filter()  masks stats::filter()
  ✖ purrr::is_null() masks testthat::is_null()
  ✖ dplyr::lag()     masks stats::lag()
  ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
  ✖ recipes::step()  masks stats::step()
  Loading required package: spatialsample
  > 
  > test_check("tidysdm")
  
  Attaching package: 'plotrix'
  
  The following object is masked from 'package:scales':
  
      rescale
  
  [18:43:50] WARNING: src/learner.cc:553: 
    If you are loading a serialized model (like pickle in Python, RDS in R) generated by
    older XGBoost, please export the model by calling `Booster.save_model` from that version
    first, then load it back in current version. See:
  
      https://xgboost.readthedocs.io/en/latest/tutorials/saving_model.html
  
    for more details about differences between saving model and serializing.
  
  i Creating pre-processing data to finalize unknown parameter: mtry
  i Creating pre-processing data to finalize unknown parameter: mtry
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 328 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_blockcv2rsample.R:1:1'): (code run outside of `test_that()`) ───
  <packageNotFoundError/error/condition>
  Error in `library(blockCV)`: there is no package called 'blockCV'
  Backtrace:
      ▆
   1. ├─base::suppressPackageStartupMessages(library(blockCV)) at test_blockcv2rsample.R:1:1
   2. │ └─base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage"))
   3. └─base::library(blockCV)
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 328 ]
  Error: Test failures
  Execution halted