Running 'testthat.R' [16s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  Loading required package: wru
  > 
  > test_check("eiCompare")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `gzfile(file, "rb")`: cannot open the connection
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:2
   2.   ├─utils::capture.output(...)
   3.   │ └─base::withVisible(...elt(i))
   4.   ├─base::suppressWarnings(...)
   5.   │ └─base::withCallingHandlers(...)
   6.   └─wru::predict_race(...)
   7.     └─wru:::predict_race_new(...)
   8.       └─base::readRDS(paste0(path, "/wru-data-first_c.rds"))
   9.         └─base::gzfile(file, "rb")
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'bisg.Rmd' using rmarkdown

Quitting from lines 126-148 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building 'bisg.Rmd'

--- re-building 'ei.Rmd' using rmarkdown
--- finished re-building 'ei.Rmd'

--- re-building 'parallel_processing.Rmd' using rmarkdown
--- finished re-building 'parallel_processing.Rmd'

--- re-building 'performance_analysis.Rmd' using rmarkdown

Quitting from lines 165-190 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building 'performance_analysis.Rmd'

SUMMARY: processing the following files failed:
  'bisg.Rmd' 'performance_analysis.Rmd'

Error: Vignette re-building failed.
Execution halted