R Under development (unstable) (2024-01-22 r85820 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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(msSPChelpR) > > test_check("msSPChelpR") # A tibble: 11 x 3 p_alive.1 other_var_name n 1 Alive 1 16051 2 Alive 2 17816 3 Alive 97 19 4 Alive 98 2523 5 Dead 1 2566 6 Dead 2 2086 7 Dead 3 18169 8 Dead 4 8676 9 Dead 97 2 10 Dead 98 147 11 Dead NA 5 # A tibble: 7 x 2 other_var_name n 1 1 18617 2 2 19902 3 3 18169 4 4 8676 5 97 21 6 98 2670 7 NA 5 Long dataset had too many cases per patient. Wide dataset is limited to 2 cases per id as defined in timevar_max option. [ FAIL 0 | WARN 0 | SKIP 0 | PASS 5 ] > > proc.time() user system elapsed 2.07 0.39 2.46