Tests and Coverage

05 May, 2019 15:46:17

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

Object Coverage (%)
texPreview 46.37
R/opts_complete.R 0.00
R/texPreview-deprecated.R 0.00
R/opts.R 5.88
R/tex_addin.R 12.50
R/zzz.R 29.41
R/tex_viewer.R 40.91
R/get_texpackages.R 50.00
R/tex_dir_setup.R 78.95
R/tex_image.R 80.00
R/tex_return.R 80.00
R/build_usepackage.R 84.62
R/build_lines.R 100.00
R/tex_build.R 100.00
R/tex_cleanup.R 100.00
R/tex_preview.R 100.00


Unit Tests

Unit Test summary is created using the testthat package.

file n time error failed skipped warning
test-tex.R 9 0.670 0 0 0 0
test-utilities.R 9 0.301 0 0 0 0

Show Detailed Test Results

file context test status n time
test-tex.R core tex function porting to tex: files generated PASS 1 0.017
test-tex.R core tex function porting to tex: class of output PASS 1 0.002
test-tex.R core tex function porting to tex no filedir: no files generated PASS 1 0.002
test-tex.R core tex function porting to tex no filedir: class of output PASS 1 0.001
test-tex.R core tex function keep pdf as an output: files generated PASS 1 0.002
test-tex.R core tex function keep pdf as an output: class of output PASS 1 0.001
test-tex.R core tex function html output: return magick object PASS 1 0.641
test-tex.R core tex function tex lines directly input: validate benchmark PASS 1 0.002
test-tex.R core tex function use svg device: check if file created PASS 1 0.002
test-utilities.R utility functions of package build usepackage call: basic call PASS 1 0.002
test-utilities.R utility functions of package build usepackage call: check library is installed PASS 1 0.138
test-utilities.R utility functions of package build usepackage call: add options PASS 1 0.002
test-utilities.R utility functions of package build usepackage call: use bad library name PASS 1 0.140
test-utilities.R utility functions of package build usepackage multiple calls: class PASS 1 0.001
test-utilities.R utility functions of package build usepackage multiple calls: dimension PASS 1 0.002
test-utilities.R utility functions of package find packages: check class PASS 2 0.003
test-utilities.R utility functions of package empty call to addin: cause addin to crash PASS 1 0.013

Session Info

Field Value
Version R version 3.5.1 (2018-07-02)
Platform x86_64-apple-darwin15.6.0 (64-bit)
Running macOS 10.14.4
Language en_US
Timezone America/New_York
Package Version
testthat 2.0.1
covr 3.2.1
covrpage 0.0.70