Running 'testthat.R' [186s]
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")
  == Failed tests ================================================================
  -- Failure (test-gammaImputedata.R:25:3): GammaImputeSet_object ----------------
  c("matrix", "array") not equal to class(imputed.data.sets$impute.time).
  Lengths differ: 2 is not 1
  -- Failure (test-gammaImputedata.R:26:3): GammaImputeSet_object ----------------
  c("matrix", "array") not equal to class(imputed.data.sets$impute.event).
  Lengths differ: 2 is not 1
  -- Failure (test-gammaStat.R:115:3): GammaStatSet ------------------------------
  c("matrix", "array") not equal to class(ans$statistics$estimates).
  Lengths differ: 2 is not 1
  -- Failure (test-gammaStat.R:116:3): GammaStatSet ------------------------------
  c("matrix", "array") not equal to class(ans$statistics$vars).
  Lengths differ: 2 is not 1
  -- Failure (test-gammaStat.R:140:3): GammaStatSet_multiplecovar ----------------
  c("matrix", "array") not equal to class(ans$statistics$estimates).
  Lengths differ: 2 is not 1
  -- Failure (test-gammaStat.R:141:3): GammaStatSet_multiplecovar ----------------
  c("matrix", "array") not equal to class(ans$statistics$vars).
  Lengths differ: 2 is not 1
  -- Failure (test-gammaStat.R:171:3): summary_1_covar ---------------------------
  c("matrix", "array") not equal to class(ans).
  Lengths differ: 2 is not 1
  -- Failure (test-scoreExtract.R:32:3): ScoreImputeSet_extract ------------------
  c("matrix", "array") not equal to class(ans$impute.time).
  Lengths differ: 2 is not 1
  -- Failure (test-scoreExtract.R:33:3): ScoreImputeSet_extract ------------------
  c("matrix", "array") not equal to class(ans$impute.event).
  Lengths differ: 2 is not 1
  -- Failure (test-scoreStat.R:168:3): Logrank_Wilcoxon_usersupplied_formula -----
  a$statistic not equal to `/`(...).
  1/1 mismatches
  [1] -0.0292 - -1.53 == 1.5
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 491 ]
  Error: Test failures
  Execution halted