Running ‘testthat.R’ [30s/74s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(blockForest)
  > 
  > test_check("blockForest")
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 403 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_jackknife.R:39:3'): IJ standard error prediction working for regression ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─stats::predict(rf, test, type = "se", se.method = "infjack") at test_jackknife.R:39:2
   2. └─blockForest:::predict.blockForest(rf, test, type = "se", se.method = "infjack")
   3.   ├─stats::predict(...)
   4.   └─blockForest:::predict.blockForest.forest(...)
   5.     └─blockForest:::rInfJack(...)
  ── Error ('test_jackknife.R:50:3'): IJ standard error prediction working for probability ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─stats::predict(rf, test, type = "se", se.method = "infjack") at test_jackknife.R:50:2
   2. └─blockForest:::predict.blockForest(rf, test, type = "se", se.method = "infjack")
   3.   ├─stats::predict(...)
   4.   └─blockForest:::predict.blockForest.forest(...)
   5.     └─base::apply(...)
   6.       └─blockForest (local) FUN(array(newX[, i], d.call, dn.call), ...)
   7.         └─blockForest:::rInfJack(x, inbag.counts)
  ── Error ('test_jackknife.R:88:3'): standard error prediction working for single testing observation ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test_jackknife.R:88:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─stats::predict(rf, test, type = "se", se.method = "infjack")
    7. └─blockForest:::predict.blockForest(rf, test, type = "se", se.method = "infjack")
    8.   ├─stats::predict(...)
    9.   └─blockForest:::predict.blockForest.forest(...)
   10.     └─blockForest:::rInfJack(...)
  ── Error ('test_jackknife.R:100:3'): standard error response prediction is the same as response prediction ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─stats::predict(rf_se, test, type = "se") at test_jackknife.R:100:2
   2. └─blockForest:::predict.blockForest(rf_se, test, type = "se")
   3.   ├─stats::predict(...)
   4.   └─blockForest:::predict.blockForest.forest(...)
   5.     └─blockForest:::rInfJack(...)
  ── Error ('test_jackknife.R:122:3'): standard error response prediction is the same as response prediction, probability ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─stats::predict(rf_se, test, type = "se", se.method = "infjack") at test_jackknife.R:122:2
   2. └─blockForest:::predict.blockForest(rf_se, test, type = "se", se.method = "infjack")
   3.   ├─stats::predict(...)
   4.   └─blockForest:::predict.blockForest.forest(...)
   5.     └─base::apply(...)
   6.       └─blockForest (local) FUN(array(newX[, i], d.call, dn.call), ...)
   7.         └─blockForest:::rInfJack(x, inbag.counts)
  ── Error ('test_jackknife.R:138:3'): Warning for few observations with IJ ──────
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test_jackknife.R:138:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─stats::predict(rf5, test, type = "se", se.method = "infjack")
    7. └─blockForest:::predict.blockForest(rf5, test, type = "se", se.method = "infjack")
    8.   ├─stats::predict(...)
    9.   └─blockForest:::predict.blockForest.forest(...)
   10.     └─base::apply(...)
   11.       └─blockForest (local) FUN(array(newX[, i], d.call, dn.call), ...)
   12.         └─blockForest:::rInfJack(x, inbag.counts)
  ── Error ('test_jackknife.R:160:3'): standard error is working for tree subsets, infjack ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─stats::predict(...) at test_jackknife.R:160:2
   2. └─blockForest:::predict.blockForest(...)
   3.   ├─stats::predict(...)
   4.   └─blockForest:::predict.blockForest.forest(...)
   5.     └─blockForest:::rInfJack(...)
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 403 ]
  Error: Test failures
  Execution halted