Running ‘testthat.R’ [161s/199s]
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(timeEL)
  > 
  > test_check("timeEL")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 25 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-AJwithSE.R:23:5'): Check internal CIF and se computation against that of prodlim ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'prodlim'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-AJwithSE.R:23:5
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-KMwithSE.R:24:5'): Check the internal Greenwood variance computation of KM against that of prodlim ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'prodlim'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-KMwithSE.R:24:5
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-KaplanMeier.R:89:5'): Compare to km.ci results ─────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'prodlim'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-KaplanMeier.R:89:5
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 25 ]
  Error: Test failures
  Execution halted