vignettes/tests_and_coverage.Rmd
tests_and_coverage.Rmd
This output is created by covrpage.
Coverage summary is created using the covr package.
Object | Coverage (%) |
---|---|
ggeasy | 96.53 |
R/legend.R | 90.54 |
R/axis.R | 100.00 |
R/labs.R | 100.00 |
R/labs2.R | 100.00 |
R/text.R | 100.00 |
Unit Test summary is created using the testthat package.
file | n | time | error | failed | skipped | warning |
---|---|---|---|---|---|---|
test-labs.R | 10 | 0.903 | 0 | 0 | 0 | 0 |
test-legend.R | 87 | 0.691 | 0 | 0 | 0 | 0 |
test-remove-axis.R | 20 | 0.231 | 0 | 0 | 0 | 0 |
test-rotate.R | 23 | 0.184 | 0 | 0 | 0 | 0 |
test-text.R | 302 | 0.352 | 0 | 0 | 0 | 0 |
Show Detailed Test Results
file | context | test | status | n | time |
---|---|---|---|---|---|
test-labs.R | attr labs | easy_labs uses column attrib | PASS | 4 | 0.341 |
test-labs.R | attr labs | regular labs overides easy_labs | PASS | 2 | 0.210 |
test-labs.R | attr labs | regular labs pass new labels through easy_labs | PASS | 2 | 0.175 |
test-labs.R | attr labs | column name used when no column attrib present | PASS | 2 | 0.177 |
test-legend.R | remove legend | easy_remove_legend works with no argument | PASS | 1 | 0.014 |
test-legend.R | remove legend | easy_remove_legend works with single character argument | PASS | 1 | 0.013 |
test-legend.R | remove legend | easy_remove_legend works with single bare argument | PASS | 1 | 0.021 |
test-legend.R | remove legend | easy_remove_legend works with multiple character arguments | PASS | 1 | 0.013 |
test-legend.R | remove legend | easy_remove_legend works with multiple bare arguments | PASS | 1 | 0.014 |
test-legend.R | remove legend | easy_remove_legend teach = TRUE works with no other arguments | PASS | 2 | 0.006 |
test-legend.R | remove legend | easy_remove_legend teach = TRUE works with specific aes | PASS | 2 | 0.005 |
test-legend.R | remove legend | easy_remove_legend teach = TRUE works with multiple aes | PASS | 2 | 0.004 |
test-legend.R | move legend | easy_change_legend errors with no argument | PASS | 1 | 0.008 |
test-legend.R | move legend | easy_change_legend works with combinations | PASS | 4 | 0.061 |
test-legend.R | move legend | easy_move_legend works with no argument | PASS | 1 | 0.014 |
test-legend.R | move legend | easy_move_legend works with specified argument | PASS | 3 | 0.043 |
test-legend.R | move legend | easy_move_legend errors with bad argument | PASS | 1 | 0.006 |
test-legend.R | move legend | easy_move_legend aliases work | PASS | 3 | 0.049 |
test-legend.R | move legend | easy_move_legend teach = TRUE works with combinations | PASS | 4 | 0.023 |
test-legend.R | move legend | easy_legend_at teach = TRUE works with combinations | PASS | 4 | 0.023 |
test-legend.R | move legend | easy_change_legend teach = TRUE works with position | PASS | 3 | 0.020 |
test-legend.R | legend direction | easy_rotate_legend works with no argument | PASS | 1 | 0.020 |
test-legend.R | legend direction | easy_rotate_legend works with combinations | PASS | 4 | 0.055 |
test-legend.R | legend direction | easy_rotate_legend teach = TRUE works with combinations | PASS | 4 | 0.021 |
test-legend.R | legend justification | easy_adjust_legend works with no argument | PASS | 1 | 0.020 |
test-legend.R | legend justification | easy_adjust_legend works with combinations | PASS | 3 | 0.044 |
test-legend.R | legend justification | easy_adjust_legend errors with bad argument | PASS | 1 | 0.006 |
test-legend.R | legend justification | easy_adjust_legend teach = TRUE works with justification | PASS | 3 | 0.020 |
test-legend.R | legend justification | easy_change_legend teach = TRUE works with justification | PASS | 3 | 0.021 |
test-legend.R | legend justification | easy_rotate_legend teach = TRUE works with combinations | PASS | 4 | 0.029 |
test-legend.R | legend title | easy_add_legend_title errors with no argument | PASS | 1 | 0.006 |
test-legend.R | legend title | easy_add_legend_title relabels a single legend title | PASS | 1 | 0.015 |
test-legend.R | legend title | easy_add_legend_title relabels all legend titles | PASS | 9 | 0.023 |
test-legend.R | legend title | easy_add_legend_title teach = TRUE works with specific aes | PASS | 4 | 0.022 |
test-legend.R | legend title | easy_add_legend_title teach = TRUE works with unspecific aes | PASS | 12 | 0.036 |
test-legend.R | legend title | easy_remove_legend_title works | PASS | 1 | 0.016 |
test-remove-axis.R | remove axes | no argument | PASS | 3 | 0.038 |
test-remove-axis.R | remove axes | explicit axis | PASS | 10 | 0.127 |
test-remove-axis.R | remove axes | multiple components | PASS | 4 | 0.055 |
test-remove-axis.R | remove axes | teach argument produces working code | PASS | 3 | 0.011 |
test-rotate.R | rotate labels | rotation of both labels | PASS | 17 | 0.104 |
test-rotate.R | rotate labels | rotation of x labels | PASS | 3 | 0.037 |
test-rotate.R | rotate labels | rotation of y labels | PASS | 3 | 0.043 |
test-text.R | adjust text sizes | set text sizes | PASS | 203 | 0.228 |
test-text.R | adjust text colors | set text colors | PASS | 98 | 0.109 |
test-text.R | text alignment | easy_center_title works | PASS | 1 | 0.015 |