Tests and Coverage
June 15, 2025 ยท View on GitHub
15 June, 2025 10:26:29
This output is created by covrpage.
Coverage
Coverage summary is created using the covr package.
| Object | Coverage (%) |
|---|---|
| ggeasy | 82.39 |
| R/labs2.R | 0.00 |
| R/utils.R | 0.00 |
| R/legend.R | 89.87 |
| R/gridlines.R | 91.67 |
| R/axis.R | 100.00 |
| R/labs.R | 100.00 |
| R/text.R | 100.00 |
Unit Tests
Unit Test summary is created using the testthat package.
| file | n | time | error | failed | skipped | warning | icon |
|---|---|---|---|---|---|---|---|
| test-gridlines.R | 9 | 0.022 | 0 | 0 | 0 | 0 | |
| test-labs.R | 4 | 0.010 | 0 | 0 | 4 | 0 | ๐ถ |
| test-legend.R | 71 | 0.118 | 0 | 0 | 0 | 0 | |
| test-remove-axis.R | 20 | 0.031 | 0 | 0 | 0 | 0 | |
| test-rotate.R | 23 | 0.051 | 0 | 0 | 0 | 0 | |
| test-text.R | 34 | 0.250 | 0 | 0 | 0 | 0 |
Show Detailed Test Results
| file | context | test | status | n | time | icon |
|---|---|---|---|---|---|---|
| test-gridlines.R | remove grid lines | easy_remove_gridlines works | PASS | 3 | 0.012 | |
| test-gridlines.R | remove grid lines | easy_remove_x_gridlines works | PASS | 3 | 0.005 | |
| test-gridlines.R | remove grid lines | easy_remove_y_gridlines works | PASS | 3 | 0.005 | |
| test-labs.R | attr labs | easy_labs uses column attrib | SKIPPED | 1 | 0.002 | ๐ถ |
| test-labs.R | attr labs | regular labs overides easy_labs | SKIPPED | 1 | 0.005 | ๐ถ |
| test-labs.R | attr labs | regular labs pass new labels through easy_labs | SKIPPED | 1 | 0.002 | ๐ถ |
| test-labs.R | attr labs | column name used when no column attrib present | SKIPPED | 1 | 0.001 | ๐ถ |
| test-legend.R | remove legend | easy_remove_legend works with no argument | PASS | 1 | 0.002 | |
| test-legend.R | remove legend | easy_remove_legend works with single character argument | PASS | 1 | 0.002 | |
| test-legend.R | remove legend | easy_remove_legend works with single bare argument | PASS | 1 | 0.001 | |
| test-legend.R | remove legend | easy_remove_legend works with multiple character arguments | PASS | 1 | 0.001 | |
| test-legend.R | remove legend | easy_remove_legend works with multiple bare arguments | PASS | 1 | 0.001 | |
| test-legend.R | remove legend | easy_remove_legend teach = TRUE works with no other arguments | PASS | 2 | 0.003 | |
| test-legend.R | remove legend | easy_remove_legend teach = TRUE works with specific aes | PASS | 2 | 0.003 | |
| test-legend.R | remove legend | easy_remove_legend teach = TRUE works with multiple aes | PASS | 2 | 0.002 | |
| test-legend.R | move legend | easy_change_legend errors with no argument | PASS | 1 | 0.005 | |
| test-legend.R | move legend | easy_change_legend works with combinations | PASS | 4 | 0.006 | |
| test-legend.R | move legend | easy_move_legend works with no argument | PASS | 1 | 0.002 | |
| test-legend.R | move legend | easy_move_legend works with specified argument | PASS | 3 | 0.005 | |
| test-legend.R | move legend | easy_move_legend errors with bad argument | PASS | 1 | 0.004 | |
| test-legend.R | move legend | easy_move_legend aliases work | PASS | 3 | 0.005 | |
| test-legend.R | move legend | easy_move_legend teach = TRUE works with combinations | PASS | 4 | 0.005 | |
| test-legend.R | move legend | easy_legend_at teach = TRUE works with combinations | PASS | 4 | 0.005 | |
| test-legend.R | move legend | easy_change_legend teach = TRUE works with position | PASS | 3 | 0.004 | |
| test-legend.R | legend direction | easy_rotate_legend works with no argument | PASS | 1 | 0.002 | |
| test-legend.R | legend direction | easy_rotate_legend works with combinations | PASS | 4 | 0.006 | |
| test-legend.R | legend direction | easy_rotate_legend teach = TRUE works with combinations | PASS | 4 | 0.005 | |
| test-legend.R | legend justification | easy_adjust_legend works with no argument | PASS | 1 | 0.002 | |
| test-legend.R | legend justification | easy_adjust_legend works with combinations | PASS | 3 | 0.010 | |
| test-legend.R | legend justification | easy_adjust_legend errors with bad argument | PASS | 1 | 0.004 | |
| test-legend.R | legend justification | easy_adjust_legend teach = TRUE works with justification | PASS | 3 | 0.005 | |
| test-legend.R | legend justification | easy_change_legend teach = TRUE works with justification | PASS | 3 | 0.004 | |
| test-legend.R | legend justification | easy_rotate_legend teach = TRUE works with combinations | PASS | 4 | 0.005 | |
| test-legend.R | legend title | easy_add_legend_title errors with no argument | PASS | 1 | 0.004 | |
| test-legend.R | legend title | easy_add_legend_title relabels a single legend title | PASS | 1 | 0.002 | |
| test-legend.R | legend title | easy_add_legend_title relabels all legend titles | PASS | 1 | 0.002 | |
| test-legend.R | legend title | easy_add_legend_title teach = TRUE works with specific aes | PASS | 4 | 0.004 | |
| test-legend.R | legend title | easy_add_legend_title teach = TRUE works with unspecific aes | PASS | 4 | 0.005 | |
| test-legend.R | legend title | easy_remove_legend_title works | PASS | 1 | 0.002 | |
| test-remove-axis.R | remove axes | no argument | PASS | 3 | 0.006 | |
| test-remove-axis.R | remove axes | explicit axis | PASS | 10 | 0.012 | |
| test-remove-axis.R | remove axes | multiple components | PASS | 4 | 0.006 | |
| test-remove-axis.R | remove axes | teach argument produces working code | PASS | 3 | 0.007 | |
| test-rotate.R | rotate labels | rotation of both labels | PASS | 17 | 0.040 | |
| test-rotate.R | rotate labels | rotation of x labels | PASS | 3 | 0.006 | |
| test-rotate.R | rotate labels | rotation of y labels | PASS | 3 | 0.005 | |
| test-text.R | adjust text sizes | set text sizes | PASS | 23 | 0.068 | |
| test-text.R | adjust text colors | set text colors | PASS | 8 | 0.034 | |
| test-text.R | text alignment | easy_center_title works | PASS | 1 | 0.003 | |
| test-text.R | bolding title | bold round-trips | PASS | 2 | 0.145 |
| Failed | Warning | Skipped |
|---|---|---|
| ๐ | โ ๏ธ | ๐ถ |
Session Info
| Field | Value |
|---|---|
| Version | R version 4.4.1 (2024-06-14) |
| Platform | aarch64-apple-darwin20 |
| Running | macOS 15.5 |
| Language | en_US |
| Timezone | Australia/Adelaide |
| Package | Version |
|---|---|
| testthat | 3.2.3 |
| covr | 3.6.4 |
| covrpage | 0.2 |