Closed Lovemore-Gakava closed 2 months ago
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 292e7a64.
:recycle: This comment has been updated with latest results.
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% 36-48
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% 64
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% 148-196, 290, 297-298, 302-303, 345-346, 355-365, 437-443, 452-456, 559-570, 757-786, 825-864, 890-1028, 1036-1090, 1126-1133, 1167-1277
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%
Filename Stmts Miss Cover
-------------- ------- ------ -------
R/value_tree.R -12 0 -92.31%
TOTAL -12 0 -0.17%
Results for commit: 292e7a64fa956077c004329affdb40267a41d67d
Minimum allowed coverage is 80%
:recycle: This comment has been updated with latest results
@Lovemore-Gakava Thank you for the PR. As we have discussed in the meeting, I think the documentation is intended to describe the general requirements for the input data, while your documentation is specific to the example data. For example, although the example data have the variable names Age
, Gender
, Prevalence
, Type
, the input data do not have to follow these variable names. The variable names are flexible, and can be recognized by the function as long as they are specified in the yvar
, groupvar
, xvar
, levelvar
arguments. Thus, I suggest the following:
dataframe
A data frame containing at least four columns: x-axis variable, y-axis variable, and two grouping variables.string
The column name in data
representing the numeric values to be plottedstring
The column name in data
representing the categories to be plottedstring
The column name in data
representing the binary groupsstring
The column name in data
representing the grouping variablenumeric
Specify the transparency of the bars in the chart (between 0 and 1).vector
A vector of two colors to be used for the two sides of the pyramid.string
Label for the x-axis.Thanks @chen-chen-stat Chen for the PR. I agree with your recommendations. The documentation should describe the general requirements for the input data, not just the example data. Code has now been updated.
Test Suite | $Status$ | Time on main |
$±Time$ | $±Tests$ | $±Skipped$ | $±Failures$ | $±Errors$ |
---|---|---|---|---|---|---|---|
value_tree | 💀 | $0.06$ | $-0.06$ | $-8$ | $0$ | $0$ | $0$ |
Results for commit ea850c7fd74bd64763e9bc5af6055e8e24949558
♻️ This comment has been updated with latest results.
Thank you @Lovemore-Gakava. I think the Rd file is still pending to be updated.
Review the pkgdown webpage for the PR here
Add input data requirements.