insightsengineering / cards

CDISC Analysis Results Data
https://insightsengineering.github.io/cards/
24 stars 0 forks source link

Adding `ard_total_n()` #258

Closed ddsjoberg closed 3 weeks ago

ddsjoberg commented 3 weeks ago

Reference GitHub issue associated with pull request. e.g., 'closes #' closes #236


Pre-review Checklist (if item does not apply, mark is as complete)

Reviewer Checklist (if item does not apply, mark is as complete)

When the branch is ready to be merged:

github-actions[bot] commented 3 weeks ago

badge

Code Coverage Summary

Filename                       Stmts    Miss  Cover    Missing
---------------------------  -------  ------  -------  --------------------------
R/apply_fmt_fn.R                  95      24  74.74%   36-43, 109-116, 198-205
R/ard_attributes.R                33       0  100.00%
R/ard_categorical.R              337      16  95.25%   225, 385-386, 542-557, 591
R/ard_complex.R                   34       0  100.00%
R/ard_continuous.R               176       4  97.73%   118, 200-201, 299
R/ard_dichotomous.R               66       2  96.97%   60, 146
R/ard_hierarchical.R              83       0  100.00%
R/ard_missing.R                   56       0  100.00%
R/ard_stack.R                     76       1  98.68%   107
R/ard_total_n.R                    7       0  100.00%
R/as_nested_list.R                41       0  100.00%
R/bind_ard.R                      22       3  86.36%   51-53
R/check_ard_structure.R           39       6  84.62%   31, 55-59
R/default_stat_labels.R           18       0  100.00%
R/eval_capture_conditions.R       18       0  100.00%
R/get_ard_statistics.R            16       1  93.75%   75
R/nest_for_ard.R                  71       1  98.59%   60
R/print_ard_conditions.R          75      66  12.00%   60-176
R/print.R                         72       0  100.00%
R/process_selectors.R            125       1  99.20%   334
R/replace_null_statistic.R        11       0  100.00%
R/round5.R                         1       0  100.00%
R/selectors.R                     14       0  100.00%
R/shift_ard_columns.R             77      13  83.12%   61, 69, 144-147, 150-156
R/shuffle_ard.R                  102       0  100.00%
R/summary_functions.R             25       1  96.00%   59
R/tidy_ard_order.R                25       0  100.00%
R/tidy_as_ard.R                   39      11  71.79%   88-98
R/utils.R                         24       0  100.00%
TOTAL                           1778     150  91.56%

Diff against main

Filename           Stmts    Miss  Cover
---------------  -------  ------  --------
R/ard_stack.R         +6       0  +0.11%
R/ard_total_n.R       +7       0  +100.00%
TOTAL                +13       0  +0.06%

Results for commit: 2b805a25c870b41e2c63eeded73a6adcbda640a8

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 3 weeks ago

Unit Tests Summary

  1 files   87 suites   14s :stopwatch:  85 tests  54 :white_check_mark: 31 :zzz: 0 :x: 175 runs  129 :white_check_mark: 46 :zzz: 0 :x:

Results for commit a2270c01.

github-actions[bot] commented 3 weeks ago

Unit Tests Summary

  1 files   89 suites   13s :stopwatch:  87 tests  55 :white_check_mark: 32 :zzz: 0 :x: 177 runs  130 :white_check_mark: 47 :zzz: 0 :x:

Results for commit 2b805a25.

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

github-actions[bot] commented 3 weeks ago

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
ard_total_n 👶 $+0.09$ $+1$ $+1$ $0$ $0$
Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | ard_stack | 👶 | | $+0.00$ | ard_stack_adding_total_N | | ard_total_n | 👶 | | $+0.09$ | ard_total_n_works |

Results for commit 0fd32cedb05cb33dac1936994260098399a2a0ae

♻️ This comment has been updated with latest results.