BR-Visualization / brcharts

Create BR charts
https://br-visualization.github.io/brcharts/
MIT License
0 stars 0 forks source link

5 create line chart #42

Closed chen-chen-stat closed 1 month ago

chen-chen-stat commented 1 month ago

@Lovemore-Gakava @aemabe The PR for the line chart (Figure 3) is ready for your review. Thanks!

github-actions[bot] commented 1 month ago

badge

Code Coverage Summary

Filename                           Stmts    Miss  Cover    Missing
-------------------------------  -------  ------  -------  -------------------------------------------------------------------------------------------------------------------------------------
R/check_feature.R                    345     300  13.04%   12-331, 360-364, 368-371, 386-390, 405-409, 427-431, 444-449
R/ci_calculation.R                    92       0  100.00%
R/correlogram.R                      135       0  100.00%
R/cumulative_excess_functions.R      347      40  88.47%   94-95, 105-106, 192-199, 236-247, 304-308, 443-451, 469-471
R/forest_dot_plot_utils.R           1493    1359  8.98%    16-1502, 1565-1567, 1584-1589, 1615-1618, 1639, 1704-1727, 1783-1800, 1814, 1817, 1885-2220
R/forest_dot_plot.R                  104     104  0.00%    4-254
R/grouped_barchart.R                  12      12  0.00%    23-35
R/line_chart.R                       136      20  85.29%   93-98, 119-120, 186-192, 209-213
R/order_label_der.R                   55      55  0.00%    35-97
R/pyramid_chart.R                     76       1  98.68%   52
R/scatterplot_function.R             121      13  89.26%   40-42, 70-81
R/stacked_barchart.R                  39       0  100.00%
R/tradeoff_plot.R                    890     424  52.36%   92-140, 234, 241-242, 246-247, 289-290, 299-309, 381-387, 396-400, 503-514, 701-730, 769-808, 834-972, 980-1034, 1070-1077, 1111-1221
R/utils.R                            289      37  87.20%   443-496, 523-529, 557-669
R/value_tree.R                         1       1  0.00%    45
TOTAL                               4135    2366  42.78%

Diff against main

Filename          Stmts    Miss  Cover
--------------  -------  ------  -------
R/line_chart.R     +136     +20  +85.29%
TOTAL              +136     +20  +1.45%

Results for commit: cb959dfb782e242aa27b8c458453d144ae08eda5

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 1 month ago

Unit Tests Summary

  1 files    9 suites   12s :stopwatch:  60 tests  60 :white_check_mark: 0 :zzz: 0 :x: 410 runs  410 :white_check_mark: 0 :zzz: 0 :x:

Results for commit cb959dfb.

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

github-actions[bot] commented 1 month ago

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
line_chart 👶 $+0.49$ $+26$ $0$ $0$ $0$
Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | line_chart | 👶 | | $+0.01$ | line_chart_expects_an_error_when_data_bands_is_missing_required_variables | | line_chart | 👶 | | $+0.01$ | line_chart_expects_an_error_when_data_lines_has_misnamed_variables | | line_chart | 👶 | | $+0.01$ | line_chart_expects_an_error_when_variables_in_data_bands_are_not_of_required_type | | line_chart | 👶 | | $+0.01$ | line_chart_expects_an_error_when_variables_in_data_lines_are_not_of_required_type | | line_chart | 👶 | | $+0.16$ | line_chart_will_ouput_a_ggplot_object | | line_chart | 👶 | | $+0.15$ | line_chart_will_return_a_custom_warning_message_concerning_missing_data | | line_chart | 👶 | | $+0.15$ | line_chart_will_return_a_visible_object_with_missing_data |

Results for commit 4721f683719016090538029303794f6462e16d57

♻️ This comment has been updated with latest results.

github-actions[bot] commented 1 month ago

Github pages

Review the pkgdown webpage for the PR here