Tests and Coverage

22 December, 2022 15:30:42

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

Object Coverage (%)
whereami 36.49
R/counter.R 7.89
R/print.R 41.38
R/whereami.R 50.00
R/zzz.R 50.00
R/thisfile.R 51.22
R/breadcrumb.R 68.18
R/utils.R 100.00


Unit Tests

Unit Test summary is created using the testthat package.

file n time error failed skipped warning
test-counter.R 1 0.011 0 0 0 0
test-source.R 3 0.064 0 0 0 0
test-thisfile.R 4 0.517 0 0 0 0
Show Detailed Test Results
file context test status n time
test-counter.R counter functionality counter flow: no counter exists PASS 1 0.011
test-source.R source functionality source calls: direct call PASS 1 0.012
test-source.R source functionality source calls: path expand PASS 1 0.044
test-source.R source functionality source calls: print PASS 1 0.008
test-thisfile.R thisfile thisfile works with source PASS 1 0.004
test-thisfile.R thisfile thisfile works with Rscript PASS 1 0.251
test-thisfile.R thisfile thisfile works with R PASS 1 0.249
test-thisfile.R thisfile thisfile works with knitr PASS 1 0.013
Session Info
Field Value
Version R version 4.2.2 (2022-10-31)
Platform x86_64-pc-linux-gnu (64-bit)
Running Ubuntu 22.04.1 LTS
Language C
Timezone UTC
Package Version
testthat 3.1.6
covr 3.6.1
covrpage 0.1