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 (%) |
---|---|
texblocks | 97.82 |
R/methods.R | 80.00 |
R/multi_row.R | 96.72 |
R/multi_column.R | 96.83 |
R/attr.R | 100.00 |
R/casting.R | 100.00 |
R/cline.R | 100.00 |
R/hline.R | 100.00 |
R/join.R | 100.00 |
R/multi_transpose.R | 100.00 |
R/operators.R | 100.00 |
R/pad.R | 100.00 |
R/parse_tb.R | 100.00 |
R/reduce.R | 100.00 |
R/tabular.R | 100.00 |
Unit Test summary is created using the testthat package.
file | n | time | error | failed | skipped | warning |
---|---|---|---|---|---|---|
test-basics.R | 16 | 1.342 | 0 | 0 | 0 | 0 |
test-lines.R | 16 | 0.203 | 0 | 0 | 0 | 0 |
test-multi.R | 8 | 0.056 | 0 | 0 | 0 | 0 |
test-operators.R | 4 | 0.100 | 0 | 0 | 0 | 0 |
test-pad.R | 20 | 0.057 | 0 | 0 | 0 | 0 |
test-reduce.R | 13 | 0.048 | 0 | 0 | 0 | 0 |
test-transpose.R | 3 | 0.148 | 0 | 0 | 0 | 0 |
Show Detailed Test Results
file | context | test | status | n | time |
---|---|---|---|---|---|
test-basics.R | basics | as.tb: as.tb | PASS | 1 | 0.036 |
test-basics.R | basics | as.tb: as.tb.tb | PASS | 1 | 0.002 |
test-basics.R | basics | as.tb: as.integer.tb | PASS | 1 | 0.043 |
test-basics.R | basics | as.tb: as.matrix.tb | PASS | 1 | 0.025 |
test-basics.R | basics | as.tb: as.data.frame.tb | PASS | 1 | 0.038 |
test-basics.R | basics | as.tb: bdiag | PASS | 1 | 0.999 |
test-basics.R | basics | as.tb: list | PASS | 2 | 0.053 |
test-basics.R | basics | from tb: as.matrix | PASS | 1 | 0.064 |
test-basics.R | basics | from tb: as.data.frame | PASS | 1 | 0.023 |
test-basics.R | basics | tabular: basic | PASS | 1 | 0.006 |
test-basics.R | basics | tabular: align right | PASS | 1 | 0.006 |
test-basics.R | basics | tabular: align center | PASS | 1 | 0.012 |
test-basics.R | basics | tabular: align left | PASS | 1 | 0.005 |
test-basics.R | basics | tabular: align 2 columns | PASS | 1 | 0.023 |
test-basics.R | basics | tabular: wrong align length | PASS | 1 | 0.007 |
test-lines.R | lines | hline: default | PASS | 1 | 0.017 |
test-lines.R | lines | hline: top row singleton | PASS | 1 | 0.017 |
test-lines.R | lines | hline: top row | PASS | 2 | 0.019 |
test-lines.R | lines | hline: first row | PASS | 1 | 0.017 |
test-lines.R | lines | hline: not 0 not 1 | PASS | 1 | 0.017 |
test-lines.R | lines | hline: multirow | PASS | 1 | 0.018 |
test-lines.R | lines | hline: strip | PASS | 1 | 0.017 |
test-lines.R | lines | cline: top row list | PASS | 4 | 0.026 |
test-lines.R | lines | cline: top row data.frame | PASS | 1 | 0.017 |
test-lines.R | lines | cline: not top row data.frame | PASS | 2 | 0.020 |
test-lines.R | lines | cline: strip | PASS | 1 | 0.018 |
test-multi.R | multi | multirow: default | PASS | 1 | 0.001 |
test-multi.R | multi | multirow: strip | PASS | 1 | 0.002 |
test-multi.R | multi | multirow: find | PASS | 1 | 0.004 |
test-multi.R | multi | multirow: transpose | PASS | 1 | 0.020 |
test-multi.R | multi | multicol: default | PASS | 1 | 0.001 |
test-multi.R | multi | multicol: strip | PASS | 1 | 0.002 |
test-multi.R | multi | multicol: find | PASS | 1 | 0.003 |
test-multi.R | multi | multicol: transpose | PASS | 1 | 0.023 |
test-operators.R | operators | no pad: + | PASS | 1 | 0.030 |
test-operators.R | operators | no pad: / | PASS | 1 | 0.009 |
test-operators.R | operators | pad: + | PASS | 1 | 0.031 |
test-operators.R | operators | pad: / | PASS | 1 | 0.030 |
test-pad.R | pad | columns: class | PASS | 1 | 0.001 |
test-pad.R | pad | columns: bad side | PASS | 1 | 0.002 |
test-pad.R | pad | columns: left 0 | PASS | 1 | 0.001 |
test-pad.R | pad | columns: left 1 | PASS | 1 | 0.002 |
test-pad.R | pad | columns: left 2 | PASS | 1 | 0.001 |
test-pad.R | pad | columns: right 0 | PASS | 1 | 0.001 |
test-pad.R | pad | columns: right 1 | PASS | 1 | 0.001 |
test-pad.R | pad | columns: right 2 | PASS | 1 | 0.001 |
test-pad.R | pad | rows: class | PASS | 1 | 0.006 |
test-pad.R | pad | rows: bad side | PASS | 1 | 0.001 |
test-pad.R | pad | rows: bottom 0 | PASS | 1 | 0.006 |
test-pad.R | pad | rows: bottom 1 | PASS | 1 | 0.005 |
test-pad.R | pad | rows: bottom 2 | PASS | 1 | 0.006 |
test-pad.R | pad | rows: top 0 | PASS | 1 | 0.005 |
test-pad.R | pad | rows: top 1 | PASS | 1 | 0.006 |
test-pad.R | pad | rows: top 2 | PASS | 1 | 0.006 |
test-pad.R | pad | wrapper: bad side | PASS | 1 | 0.002 |
test-pad.R | pad | wrapper: bad length | PASS | 1 | 0.001 |
test-pad.R | pad | wrapper: rows | PASS | 1 | 0.001 |
test-pad.R | pad | wrapper: cols | PASS | 1 | 0.002 |
test-reduce.R | reduce | rowwise: class | PASS | 1 | 0.001 |
test-reduce.R | reduce | rowwise: dim | PASS | 1 | 0.006 |
test-reduce.R | reduce | rowwise merge: class | PASS | 1 | 0.001 |
test-reduce.R | reduce | rowwise merge: dim | PASS | 1 | 0.006 |
test-reduce.R | reduce | rowwise merge: merged | PASS | 1 | 0.003 |
test-reduce.R | reduce | colwise: class | PASS | 1 | 0.001 |
test-reduce.R | reduce | colwise: dim | PASS | 1 | 0.006 |
test-reduce.R | reduce | colwise merge: class | PASS | 1 | 0.001 |
test-reduce.R | reduce | colwise merge: dim | PASS | 1 | 0.007 |
test-reduce.R | reduce | colwise merge: merged | PASS | 1 | 0.004 |
test-reduce.R | reduce | mix: class | PASS | 1 | 0.001 |
test-reduce.R | reduce | mix: dim | PASS | 1 | 0.008 |
test-reduce.R | reduce | mix: merged | PASS | 1 | 0.003 |
test-transpose.R | transpose | vector: row to col | PASS | 1 | 0.049 |
test-transpose.R | transpose | vector: multicol to multirow | PASS | 1 | 0.039 |
test-transpose.R | transpose | vector: multirow to multicol | PASS | 1 | 0.060 |