R Under development (unstable) (2025-11-09 r88992 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(mccount) Loading required package: ggplot2 > > test_check("mccount") i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Converting numeric grouping variable "by_var" to i Found 2 unique groups: 10 and 20 i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i MCC never reaches 2 in the observed follow-up period i No reference lines added i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. i Adjusted time points for events occurring simultaneously for the same subject. -- Mean Cumulative Count Results ----------------------------------------------- i Method: Dong-Yasui Equation Method -- MCC Estimates -- -- Call -- mcc(data = df_minimal, id_var = "id", time_var = "time", cause_var = "cause") -- Mean Cumulative Count Results ----------------------------------------------- i Method: Dong-Yasui Equation Method -- MCC Estimates -- -- Call -- mcc(data = df, id_var = "id", time_var = "time", cause_var = "cause") -- Mean Cumulative Count Results ----------------------------------------------- i Method: Sum of Cumulative Incidence Method -- MCC Estimates -- -- Call -- mcc(data = df, id_var = "id", time_var = "time", cause_var = "cause", method = "sci") -- Mean Cumulative Count Results ----------------------------------------------- i Method: Dong-Yasui Equation Method i Weighted estimation: Yes -- MCC Estimates -- -- Call -- mcc(data = df, id_var = "id", time_var = "time", cause_var = "cause", weights = "weights") -- Mean Cumulative Count Results ----------------------------------------------- i Method: Dong-Yasui Equation Method i Grouped by: group (2 groups) -- MCC Estimates -- -- Group: A -- Group: B -- Call -- mcc(data = df, id_var = "id", time_var = "time", cause_var = "cause", by = "group") -- Mean Cumulative Count Results ----------------------------------------------- i Method: Dong-Yasui Equation Method i Weighted estimation: Yes i Grouped by: group (2 groups) -- MCC Estimates -- -- Group: A -- Group: B -- Call -- mcc(data = df, id_var = "id", time_var = "time", cause_var = "cause", by = "group", weights = "weights") [ FAIL 0 | WARN 0 | SKIP 35 | PASS 683 ] ══ Skipped tests (35 • On CRAN (35): 'test-calculation_helpers.R:2:3', 'test-calculation_helpers.R:508:3', 'test-calculation_helpers.R:576:3', 'test-calculation_helpers.R:670:3', 'test-mcc.R:62:3', 'test-mcc.R:102:3', 'test-mcc.R:166:3', 'test-mcc.R:199:3', 'test-mcc.R:444:3', 'test-mcc.R:677:3', 'test-mcc.R:860:3', 'test-mcc.R:1176:3', 'test-mcc.R:1272:3', 'test-mcc.R:1398:3', 'test-mcc.R:1456:3', 'test-mcc_equation.R:211:3', 'test-mcc_equation.R:485:3', 'test-mcc_equation.R:661:3', 'test-mcc_sci.R:330:3', 'test-mcc_sci.R:592:3', 'test-s3_classes.R:90:3', 'test-s3_classes.R:118:3', 'test-s3_classes.R:139:3', 'test-s3_classes.R:214:3', 'test-s3_classes.R:504:3', 'test-s3_classes.R:528:3', 'test-validation_helpers.R:2:3', 'test-validation_helpers.R:45:3', 'test-validation_helpers.R:50:3', 'test-validation_helpers.R:58:3', 'test-validation_helpers.R:70:3', 'test-validation_helpers.R:107:3', 'test-validation_helpers.R:127:3', 'test-validation_helpers.R:171:3', 'test-validation_helpers.R:194:3' [ FAIL 0 | WARN 0 | SKIP 35 | PASS 683 ] > > proc.time() user system elapsed 18.59 1.06 19.64