Tests and Coverage

January 24, 2024 · View on GitHub

23 January, 2024 12:49:38

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

ObjectCoverage (%)
texPreview44.95
R/opts_complete.R0.00
R/tex_engine.R0.00
R/opts.R5.88
R/tex_addin.R12.50
R/tex_check.R25.81
R/tex_viewer.R27.27
R/zzz.R35.71
R/utils.R40.00
R/print.R42.86
R/get_texpackages.R50.00
R/tex_image.R69.23
R/tex_dir_setup.R78.95
R/tex_preview.R83.33
R/tex_return.R84.62
R/build_lines.R100.00
R/build_usepackage.R100.00
R/kable.R100.00
R/tex_build.R100.00
R/tex_cleanup.R100.00

Unit Tests

Unit Test summary is created using the testthat package.

filentimeerrorfailedskippedwarningicon
test-error.R13.3070000
test-kable.R110.0530000
test-packages.R10.0030000
test-print.R20.0090000
test-rmd.R70.0400000
test-svg.R10.0050000
test-tex.R90.4420000
test-utilities.R90.1500000
test-viewer.R60.8580004⚠️
Show Detailed Test Results
filecontextteststatusntimeicon
test-error.RRendering errorsforce an error: error messagePASS13.307
test-kable.Rconverting to kablelines: valuePASS10.011
test-kable.Rconverting to kablelines: classPASS10.004
test-kable.Rconverting to kablelines: attrPASS10.003
test-kable.Rconverting to kablefile: valuePASS10.005
test-kable.Rconverting to kablefile: classPASS10.005
test-kable.Rconverting to kablefile: attrPASS10.003
test-kable.Rconverting to kableself: classPASS10.005
test-kable.Rconverting to kableself: attrPASS10.003
test-kable.Rconverting to kableinput: valuePASS10.006
test-kable.Rconverting to kableinput: classPASS10.005
test-kable.Rconverting to kableinput: attrPASS10.003
test-packages.Rpackagesparse packages: linesPASS10.003
test-print.Rutilitiesprint methods: texpreview_texPASS10.005
test-print.Rutilitiesprint methods: texpreview_inputPASS10.004
test-rmd.RRendering markdownhtml: output devicePASS10.005
test-rmd.RRendering markdownhtml: png outputPASS10.005
test-rmd.RRendering markdownpdf: output devicePASS10.005
test-rmd.RRendering markdownpdf: returnType texPASS10.006
test-rmd.RRendering markdownpdf: png texPASS10.005
test-rmd.RRendering markdownpdf: returnType inputPASS10.010
test-rmd.RRendering markdownpdf: png inputPASS10.004
test-svg.Rsvg outputsuse svg device: check if file createdPASS10.005
test-tex.Rcore tex functionporting to tex: files generatedPASS10.004
test-tex.Rcore tex functionporting to tex: class of outputPASS10.003
test-tex.Rcore tex functionporting to tex no filedir: no files generatedPASS10.009
test-tex.Rcore tex functionporting to tex no filedir: class of outputPASS10.005
test-tex.Rcore tex functionkeep pdf as an output: files generatedPASS10.004
test-tex.Rcore tex functionkeep pdf as an output: class of outputPASS10.003
test-tex.Rcore tex functionhtml output: return magick objectPASS10.408
test-tex.Rcore tex functiontex lines directly input: validate benchmarkPASS10.003
test-tex.Rcore tex functionspace in file path: check if file createdPASS10.003
test-utilities.Rutility functions of packagebuild usepackage call: basic callPASS10.003
test-utilities.Rutility functions of packagebuild usepackage call: check library is installedPASS10.008
test-utilities.Rutility functions of packagebuild usepackage call: add optionsPASS10.003
test-utilities.Rutility functions of packagebuild usepackage call: use bad library namePASS10.009
test-utilities.Rutility functions of packagebuild usepackage multiple calls: classPASS10.003
test-utilities.Rutility functions of packagebuild usepackage multiple calls: dimensionPASS10.003
test-utilities.Rutility functions of packagefind packages: check classPASS20.006
test-utilities.Rutility functions of packageempty call to addin: cause addin to crashPASS10.115
test-viewer.RRendering viewerviewer output: validate viewerWARNING30.436⚠️
test-viewer.RRendering viewershiny output: validate shiny outputWARNING30.422⚠️
FailedWarningSkipped
🛑⚠️🔶
Session Info
FieldValue
VersionR version 4.3.2 (2023-10-31)
Platformx86_64-pc-linux-gnu (64-bit)
RunningUbuntu 20.04.6 LTS
LanguageC
TimezoneAmerica/New_York
PackageVersion
testthat3.2.1
covr3.6.4
covrpage0.2