Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(survxai)
  Loading required package: prodlim
  Welcome to survxai (version: 0.2.2).
  Information about the package can be found in the GitHub repository: https://github.com/MI2DataLab/survxai
  > 
  > test_check("survxai")
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_explainer.R:3:1): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_explainer.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_plot_ceteris_paribus.R:3:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_plot_ceteris_paribus.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_plot_explainer.R:3:1): (code run outside of `test_that()`) ──────
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_plot_explainer.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_plot_model_performance.R:3:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_plot_model_performance.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_plot_prediction_breakdown.R:3:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_plot_prediction_breakdown.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_plot_variable_response.R:3:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_plot_variable_response.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_prints.R:3:1): (code run outside of `test_that()`) ──────────────
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_prints.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_surv_ceteris_paribus.R:3:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_surv_ceteris_paribus.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_surv_model_performance.R:3:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_surv_model_performance.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_surv_prediction_breakdown.R:3:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_surv_prediction_breakdown.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  ── Error (test_surv_variable_response.R:3:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(randomForestSRC)`: there is no package called 'randomForestSRC'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_surv_variable_response.R:3:0
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library(randomForestSRC)
  
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted