Running 'testthat.R' [214s]
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(riskRegression)
  riskRegression version 2023.12.21
  > 
  > test_check("riskRegression")
  [iidCox] internal consistency 
  [iidCox] compare to timereg - no strata, no interaction, continuous 
  [iidCox] compare to timereg - no strata, interaction, continuous 
  [iidCox] compare to timereg - no covariate 
  [iidCox] compare to timereg - no strata, no interaction, categorical 
  [iidCox] compare to timereg - ties 
  [iidCox] compare to timereg - strata 
  [iidCox] compare to timereg - Melanoma 
  [1] "X21" "X7"  "X9" 
  [1] "X21" "X7"  "X9" 
  [1] "X21" "X7"  "X9" 
  [1] "X21" "X7"  "X9" 
  [predictCox] Estimation of the baseline hazard (no strata) 
  [predictCox] Estimation of the baseline hazard (strata) 
  [predictCox] Estimation of the baseline hazard (time varying cov, no strata) 
  [predictCox] Estimation of the baseline hazard (time varying cov, strata) 
  [predictCox] Predictions (no strata, continuous) 
  [predictCox] Predictions (no strata, categorical) 
  [predictCox] Predictions (strata) 
  [predictCox] SE/CI check against manual computation 
  [predictCox] Argument 'diag' 
  [predictCox] Confidence band vs timereg 
  [predictCox] Check same result store.iid=minimal vs. full 
  [predictCox] Does not handle weights 
  [predictCox] dealing with negative timepoints or NA 
  [predictCox] Previous bug 
  [predictCoxPL] Check baseline hazard estimation vs survfit 
  [predictCoxPL] Check argument 'diag' + iid vs predictCox 
  [predictRisk.rfsrc]  
  [predictRisk.CauseSpecificCox] 
  [predictRisk.glm] vs. lava 
  Testing binary data with 
  Testing survival data with 
  with formula=Hist(time,event) ~ 1 and conservative = FALSE 
  with formula=Hist(time,event) ~ 1 and conservative = TRUE 
  with formula=Hist(time,event) ~ X1+X2 and conservative = FALSE 
  with formula=Hist(time,event) ~ X1+X2 and conservative = TRUE 
  Testing competing.risks data with 
  with formula=Hist(time,event) ~ 1 and conservative = FALSE 
  with formula=Hist(time,event) ~ 1 and conservative = TRUE 
  with formula=Hist(time,event) ~ X1+X2 and conservative = FALSE 
  with formula=Hist(time,event) ~ X1+X2 and conservative = TRUE 
  [1] "binary"
  [1] "survival"
  [1] "competing.risks"
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 468 ]
  > 
  > proc.time()
     user  system elapsed 
    36.32    2.12   38.53