R Under development (unstable) (2025-09-14 r88831 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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 2025.09.15 > > 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 [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 [predictRisk.rfsrc] [predictRisk.CauseSpecificCox] [predictRisk.glm] vs. lava [1] "binary" [1] "survival" [1] "competing.risks" [ FAIL 0 | WARN 1 | SKIP 0 | PASS 460 ] [ FAIL 0 | WARN 1 | SKIP 0 | PASS 460 ] > > proc.time() user system elapsed 22.90 1.39 24.31