hta-pharma / maicplus

open source R package for MAIC
https://hta-pharma.github.io/maicplus/
2 stars 1 forks source link

109 adapt all examples and tests to datasets #128

Closed MikeJSeo closed 2 months ago

MikeJSeo commented 3 months ago

also fixed test examples!

github-actions[bot] commented 3 months ago

badge

Code Coverage Summary

Filename               Stmts    Miss  Cover    Missing
-------------------  -------  ------  -------  -------------------------------------------------------------------------------------------------------------------
R/binary-helper.R         59       7  88.14%   14, 18, 21, 24, 28, 31, 36
R/bucher.R                62       5  91.94%   103, 107, 111, 186-187
R/maic_anchored.R        348      46  86.78%   90-97, 102-105, 109, 112, 116, 119-122, 125-128, 133, 138, 141, 159-164, 215, 276, 282, 427-436, 445, 451, 522, 539
R/maic_unanchored.R      253      33  86.96%   82-89, 92-93, 98, 101-104, 107-110, 115, 124, 127, 150-157, 186, 243, 250, 359, 366
R/matching.R             244     145  40.57%   62, 67-69, 74-77, 84-91, 136, 172, 211, 253-514
R/plot_km.R              447      46  89.71%   53, 56, 59, 73-103, 294, 297-299, 314-317, 349, 405, 485, 488, 491, 503-504
R/plot_km2.R             107      22  79.44%   50, 59, 62, 65, 87-93, 120-128, 131, 176
R/process_data.R         101      55  45.54%   38-40, 45, 60-63, 69, 81-82, 113-124, 162, 195-260
R/reporting.R             59       0  100.00%
R/survival-helper.R       30       1  96.67%   61
R/time-helper.R           20       3  85.00%   31, 57-58
R/utils.R                 12       9  25.00%   11-20
R/zzz.R                    1       1  0.00%    2
TOTAL                   1743     373  78.60%

Diff against main

Filename            Stmts    Miss  Cover
----------------  -------  ------  -------
R/process_data.R        0     +11  -10.89%
R/utils.R               0      -1  +8.33%
TOTAL                   0     +10  +1.33%

Results for commit: 3881359448d76f912de81bc3fc7f61ed006a434a

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 3 months ago

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
maic_anchored 💚 $1.64$ $-1.07$ $0$ $0$ $0$ $0$

Results for commit 163d6928ce77587bb86d1a17b8701b1859e10368

♻️ This comment has been updated with latest results.

github-actions[bot] commented 3 months ago

Unit Tests Summary

 1 files   9 suites   6s :stopwatch: 29 tests 28 :white_check_mark: 1 :zzz: 0 :x: 96 runs  88 :white_check_mark: 8 :zzz: 0 :x:

Results for commit 38813594.

:recycle: This comment has been updated with latest results.