insightsengineering / cards

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

`ard_categorical(denominator)` updates for missing variables #169

Closed ddsjoberg closed 5 months ago

ddsjoberg commented 5 months ago

What changes are proposed in this pull request?

closes #167


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 5 months ago

badge

Code Coverage Summary

Filename                         Stmts    Miss  Cover    Missing
-----------------------------  -------  ------  -------  ----------------------
R/apply_statistic_fmt_fn.R          58       2  96.55%   92, 166
R/ard_attributes.R                  28       0  100.00%
R/ard_categorical.R                344      15  95.64%   111, 206, 518-533, 569
R/ard_complex.R                     33       0  100.00%
R/ard_continuous.R                 178       4  97.75%   107, 197-198, 296
R/ard_dichotomous.R                 65       2  96.92%   48, 136
R/ard_hierarchical.R                73       0  100.00%
R/ard_missing.R                     16       0  100.00%
R/as_nested_list.R                  41       1  97.56%   18
R/bind_ard.R                        21       1  95.24%   51
R/check_ard_structure.R             26       1  96.15%   24
R/check_pkg_installed.R            100       1  99.00%   157
R/default_stat_labels.R             18       0  100.00%
R/eval_capture_conditions.R         18       0  100.00%
R/get_ard_statistics.R              15       1  93.33%   73
R/import-standalone-stringr.R        1       0  100.00%
R/nest_for_ard.R                    69       1  98.55%   54
R/print_ard_conditions.R            72      65  9.72%    61-178
R/print.R                           69      10  85.51%   82, 91-99
R/process_selectors.R              102       0  100.00%
R/round5.R                           1       0  100.00%
R/selectors.R                       14       0  100.00%
R/shuffle_ard.R                    127       8  93.70%   202, 257, 261, 317-321
R/summary_functions.R               45       0  100.00%
R/tidy_ard_order.R                  23       0  100.00%
R/tidy_as_ard.R                     38      11  71.05%   86-96
R/utils.R                           24       0  100.00%
TOTAL                             1619     123  92.40%

Diff against main

Filename               Stmts    Miss  Cover
-------------------  -------  ------  --------
R/ard_categorical.R      +40       0  +0.57%
R/ard_dichotomous.R       -5      -7  +9.78%
R/utils.R                 +9       0  +100.00%
TOTAL                    +44      -7  +0.66%

Results for commit: 65579e185a87207ffef6ddd768919e2d17a9ae9a

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 5 months ago

Unit Tests Summary

  1 files  66 suites   10s :stopwatch:  64 tests 37 :white_check_mark: 27 :zzz: 0 :x: 133 runs  93 :white_check_mark: 40 :zzz: 0 :x:

Results for commit 65579e18.

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

github-actions[bot] commented 5 months ago

Unit Test Performance Difference

Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | ard_categorical | 👶 | | $+0.00$ | ard_categorical_and_all_NA_columns | | ard_categorical | 👶 | | $+0.01$ | ard_categorical_denominator_data_frame_without_counts_works | | ard_categorical | 💚 | $2.16$ | $-1.81$ | ard_categorical_univariate | | ard_continuous | 💔 | $0.10$ | $+2.22$ | ard_continuous_works |

Results for commit af3f18c2e43ae49ad11236389deea5c4762c24ea

♻️ This comment has been updated with latest results.