Running ‘testthat.R’ [166s/234s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library("InformativeCensoring")
  Loading required package: survival
  
  Attaching package: 'InformativeCensoring'
  
  The following object is masked from 'package:survival':
  
      cox.zph
  
  > 
  > test_check("InformativeCensoring")
  ── 1. Failure: GammaImputeSet_object (@test-gammaImputedata.R#25)  ─────────────
  "matrix" not equal to class(imputed.data.sets$impute.time).
  Lengths differ: 1 is not 2
  
  ── 2. Failure: GammaImputeSet_object (@test-gammaImputedata.R#26)  ─────────────
  "matrix" not equal to class(imputed.data.sets$impute.event).
  Lengths differ: 1 is not 2
  
  ── 3. Failure: GammaStatSet (@test-gammaStat.R#115)  ───────────────────────────
  "matrix" not equal to class(ans$statistics$estimates).
  Lengths differ: 1 is not 2
  
  ── 4. Failure: GammaStatSet (@test-gammaStat.R#116)  ───────────────────────────
  "matrix" not equal to class(ans$statistics$vars).
  Lengths differ: 1 is not 2
  
  ── 5. Failure: GammaStatSet_multiplecovar (@test-gammaStat.R#140)  ─────────────
  "matrix" not equal to class(ans$statistics$estimates).
  Lengths differ: 1 is not 2
  
  ── 6. Failure: GammaStatSet_multiplecovar (@test-gammaStat.R#141)  ─────────────
  "matrix" not equal to class(ans$statistics$vars).
  Lengths differ: 1 is not 2
  
  ── 7. Failure: summary_1_covar (@test-gammaStat.R#171)  ────────────────────────
  "matrix" not equal to class(ans).
  Lengths differ: 1 is not 2
  
  ── 8. Failure: ScoreImputeSet_extract (@test-scoreExtract.R#32)  ───────────────
  "matrix" not equal to class(ans$impute.time).
  Lengths differ: 1 is not 2
  
  ── 9. Failure: ScoreImputeSet_extract (@test-scoreExtract.R#33)  ───────────────
  "matrix" not equal to class(ans$impute.event).
  Lengths differ: 1 is not 2
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 492 | SKIPPED: 0 | WARNINGS: 22 | FAILED: 9 ]
  1. Failure: GammaImputeSet_object (@test-gammaImputedata.R#25) 
  2. Failure: GammaImputeSet_object (@test-gammaImputedata.R#26) 
  3. Failure: GammaStatSet (@test-gammaStat.R#115) 
  4. Failure: GammaStatSet (@test-gammaStat.R#116) 
  5. Failure: GammaStatSet_multiplecovar (@test-gammaStat.R#140) 
  6. Failure: GammaStatSet_multiplecovar (@test-gammaStat.R#141) 
  7. Failure: summary_1_covar (@test-gammaStat.R#171) 
  8. Failure: ScoreImputeSet_extract (@test-scoreExtract.R#32) 
  9. Failure: ScoreImputeSet_extract (@test-scoreExtract.R#33) 
  
  Error: testthat unit tests failed
  Execution halted