Tests and Coverage

08 April, 2019 08:52:29

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

Object Coverage (%)
attempt 87.86
R/on_error.R 0.00
R/adverbs.R 91.30
R/if.R 100.00
R/try_catch.R 100.00
R/utils.R 100.00
R/warn_if.R 100.00


Unit Tests

Unit Test summary is created using the testthat package.

file n time error failed skipped warning
test-if.R 78 0.103 0 0 0 0
test-trycatch.R 70 0.139 0 0 0 0
test-utils.R 7 0.008 0 0 0 0
test-warn.R 40 0.069 0 0 0 0

Show Detailed Test Results

file context test status n time
test-if.R if any, all and none works PASS 18 0.043
test-if.R if if_then work PASS 26 0.032
test-if.R if if_else work PASS 7 0.006
test-if.R if scoped if works PASS 27 0.022
test-trycatch.R trycatch errors catching PASS 4 0.005
test-trycatch.R trycatch warning catching PASS 5 0.005
test-trycatch.R trycatch finally works PASS 2 0.010
test-trycatch.R trycatch trycatch works with an external variabel PASS 2 0.004
test-trycatch.R try_catch_df try_catch_df works PASS 14 0.030
test-trycatch.R map_try_catch map_try_catch works PASS 20 0.033
test-trycatch.R attempt attempt works PASS 8 0.014
test-trycatch.R attempt attempt and try work the same way PASS 3 0.009
test-trycatch.R adverbs silently works PASS 1 0.003
test-trycatch.R adverbs surely works PASS 2 0.003
test-trycatch.R adverbs silent_attempt works PASS 3 0.008
test-trycatch.R adverbs with_* works PASS 6 0.015
test-utils.R test-utils.R try_catch_builder works PASS 7 0.008
test-warn.R test-warn.R stop, warn and message works PASS 22 0.041
test-warn.R test-any-all-none.R any, all and none works PASS 18 0.028

Session Info

Field Value
Version R version 3.4.4 (2018-03-15)
Platform x86_64-apple-darwin15.6.0 (64-bit)
Running macOS 10.14
Language en_US
Timezone Europe/Paris
Package Version
testthat 2.0.0.9000
covr 3.2.0
covrpage 0.0.65