Running 'testthat.R' [204s]
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)  -------------
  c("matrix", "array") not equal to class(imputed.data.sets$impute.time).
  Lengths differ: 2 is not 1
  
  -- 2. Failure: GammaImputeSet_object (@test-gammaImputedata.R#26)  -------------
  c("matrix", "array") not equal to class(imputed.data.sets$impute.event).
  Lengths differ: 2 is not 1
  
  -- 3. Failure: GammaStatSet (@test-gammaStat.R#115)  ---------------------------
  c("matrix", "array") not equal to class(ans$statistics$estimates).
  Lengths differ: 2 is not 1
  
  -- 4. Failure: GammaStatSet (@test-gammaStat.R#116)  ---------------------------
  c("matrix", "array") not equal to class(ans$statistics$vars).
  Lengths differ: 2 is not 1
  
  -- 5. Failure: GammaStatSet_multiplecovar (@test-gammaStat.R#140)  -------------
  c("matrix", "array") not equal to class(ans$statistics$estimates).
  Lengths differ: 2 is not 1
  
  -- 6. Failure: GammaStatSet_multiplecovar (@test-gammaStat.R#141)  -------------
  c("matrix", "array") not equal to class(ans$statistics$vars).
  Lengths differ: 2 is not 1
  
  -- 7. Failure: summary_1_covar (@test-gammaStat.R#171)  ------------------------
  c("matrix", "array") not equal to class(ans).
  Lengths differ: 2 is not 1
  
  -- 8. Failure: ScoreImputeSet_extract (@test-scoreExtract.R#32)  ---------------
  c("matrix", "array") not equal to class(ans$impute.time).
  Lengths differ: 2 is not 1
  
  -- 9. Failure: ScoreImputeSet_extract (@test-scoreExtract.R#33)  ---------------
  c("matrix", "array") not equal to class(ans$impute.event).
  Lengths differ: 2 is not 1
  
  -- 10. Failure: Logrank_Wilcoxon_usersupplied_formula (@test-scoreStat.R#168)  -
  a$statistic not equal to `/`(...).
  1/1 mismatches
  [1] -0.0292 - -1.53 == 1.5
  
  == testthat results  ===========================================================
  [ OK: 491 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 10 ]
  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) 
  10. Failure: Logrank_Wilcoxon_usersupplied_formula (@test-scoreStat.R#168) 
  
  Error: testthat unit tests failed
  Execution halted