R version 4.6.0 beta (2026-04-15 r89885 ucrt) -- "Because it was There" Copyright (C) 2026 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. > library(testthat) > library(swjm) > > test_check("swjm") Call: reReg::simGSC(n = n, summary = TRUE, para = para, xmat = X, censoring = C, frailty = gamma, tau = 60) Summary: Sample size: 40 Number of recurrent event observed: 77 Average number of recurrent event per subject: 1.925 Proportion of subjects with a terminal event: 0.125 Call: reReg::simGSC(n = n, summary = TRUE, para = para, xmat = X, censoring = C, frailty = gamma, tau = 60) Summary: Sample size: 20 Number of recurrent event observed: 36 Average number of recurrent event per subject: 1.8 Proportion of subjects with a terminal event: 0.15 Call: reReg::simGSC(n = n, summary = TRUE, para = para, xmat = X, censoring = C, frailty = gamma, tau = 60) Summary: Sample size: 30 Number of recurrent event observed: 65 Average number of recurrent event per subject: 2.167 Proportion of subjects with a terminal event: 0.233 Call: reReg::simGSC(n = n, summary = TRUE, para = para, xmat = X, censoring = C, frailty = gamma, tau = 60) Summary: Sample size: 30 Number of recurrent event observed: 65 Average number of recurrent event per subject: 2.167 Proportion of subjects with a terminal event: 0.233 [ FAIL 0 | WARN 0 | SKIP 0 | PASS 89 ] > > proc.time() user system elapsed 4.70 0.68 5.42