Running ‘testthat.R’ [11s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(survivalmodels)
  > 
  > test_check("survivalmodels")
  ── FAILURE (test_akritas.R:7:3): silent ────────────────────────────────────────
  `akritas(Surv(time, status) ~ ., data = rats[1:10, ])` produced warnings.
  
  ── Warning (test_akritas.R:20:3): kaplan ───────────────────────────────────────
  Deprecated. In the future please use Universal$new(). This will be removed in v0.4.0.
  
  ── Warning (test_akritas.R:25:3): kaplan ───────────────────────────────────────
  Deprecated. In the future please use Universal$new(). This will be removed in v0.4.0.
  
  ── Warning (test_akritas.R:32:3): univariate ───────────────────────────────────
  Deprecated. In the future please use Universal$new(). This will be removed in v0.4.0.
  
  ── Warning (test_akritas.R:37:3): cpp ──────────────────────────────────────────
  Deprecated. In the future please use Universal$new(). This will be removed in v0.4.0.
  
  ── Skip (test_coxtime.R:1:1): (code run outside of `test_that()`) ──────────────
  Reason: One of torch, numpy, pycox not available for testing.
  
  ── Skip (test_deephit.R:1:1): (code run outside of `test_that()`) ──────────────
  Reason: One of torch, numpy, pycox not available for testing.
  
  ── Skip (test_deepsurv.R:1:1): (code run outside of `test_that()`) ─────────────
  Reason: One of torch, numpy, pycox not available for testing.
  
  ── Skip (test_dnnsurv.R:2:1): (code run outside of `test_that()`) ──────────────
  Reason: keras not available for testing.
  
  ── Warning (test_helpers.R:20:3): clean_test_data ──────────────────────────────
  Deprecated. In the future please use Universal$new(). This will be removed in v0.4.0.
  
  ── Skip (test_keras.R:2:1): (code run outside of `test_that()`) ────────────────
  Reason: keras not available for testing.
  
  ── Skip (test_loghaz.R:1:1): (code run outside of `test_that()`) ───────────────
  Reason: One of torch, numpy, pycox not available for testing.
  
  ── Warning (test_methods.R:5:3): print ─────────────────────────────────────────
  Deprecated. In the future please use Universal$new(). This will be removed in v0.4.0.
  
  ── Skip (test_pchazard.R:1:1): (code run outside of `test_that()`) ─────────────
  Reason: One of torch, numpy, pycox not available for testing.
  
  ── Skip (test_pycox.R:1:1): (code run outside of `test_that()`) ────────────────
  Reason: One of torch, numpy, pycox not available for testing.
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● One of torch, numpy, pycox not available for testing. (6)
  ● keras not available for testing. (2)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test_akritas.R:7:3): silent
  Warning (test_akritas.R:20:3): kaplan
  Warning (test_akritas.R:25:3): kaplan
  Warning (test_akritas.R:32:3): univariate
  Warning (test_akritas.R:37:3): cpp
  Warning (test_helpers.R:20:3): clean_test_data
  Warning (test_methods.R:5:3): print
  
  [ FAIL 1 | WARN 6 | SKIP 8 | PASS 23 ]
  Error: Test failures
  Execution halted