tests/README.md

Tests and Coverage

27 February, 2024 15:04:01

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

| Object | Coverage (%) | | :---------------------------------------------------- | :----------: | | sinew | 31.20 | | R/check_attach.R | 0.00 | | R/create_yml.R | 0.00 | | R/get_oxy.R | 0.00 | | R/interOxyAddIn.R | 0.00 | | R/ls_param.R | 0.00 | | R/makeDictionary.R | 0.00 | | R/moga.R | 0.00 | | R/opts_complete.R | 0.00 | | R/oxygenAddin.R | 0.00 | | R/pretty_addin_utils.R | 0.00 | | R/pretty_addin.R | 0.00 | | R/pretty_rmd.R | 0.00 | | R/pretty_sinew.R | 0.00 | | R/rm_oxylines.R | 0.00 | | R/rmOxygen.R | 0.00 | | R/something.R | 0.00 | | R/untangle_examples.R | 0.00 | | R/opts.R | 5.88 | | R/zzz.R | 11.11 | | R/pretty_namespace.R | 43.48 | | R/pretty_utils.R | 44.24 | | R/makeOxygen.R | 52.63 | | R/makeImport.R | 60.66 | | R/makeOxyFile.R | 76.19 | | R/tabular.R | 88.89 | | R/make_seealso.R | 94.12 | | R/prettify.R | 94.83 | | R/untangle.R | 96.67 |

Unit Tests

Unit Test summary is created using the testthat package.

| file | n | time | error | failed | skipped | warning | icon | | :------------------------------------------------ | -: | ----: | ----: | -----: | ------: | ------: | :--- | | test-makeOxyFile.R | 3 | 0.057 | 0 | 0 | 0 | 0 | | | test-makeOxygen.R | 4 | 0.093 | 0 | 0 | 1 | 0 | 🔶 | | test-pretty.R | 14 | 0.177 | 0 | 0 | 1 | 0 | 🔶 | | test-seealso.R | 3 | 0.008 | 0 | 0 | 0 | 0 | | | test-tabular.R | 3 | 0.009 | 0 | 0 | 0 | 0 | | | test-untangle.R | 6 | 0.020 | 0 | 0 | 0 | 0 | |

Show Detailed Test Results

| file | context | test | status | n | time | icon | | :--------------------------------------------------- | :----------- | :--------------------------------------------- | :------ | -: | ----: | :--- | | test-makeOxyFile.R | makeOxyFile | makeOxyFile works | PASS | 3 | 0.057 | | | test-makeOxygen.R | makeOxygen | makeOxygen works | SKIPPED | 4 | 0.093 | 🔶 | | test-pretty.R | pretty | switches: force | SKIPPED | 1 | 0.003 | 🔶 | | test-pretty.R | pretty | switches: ignore | PASS | 1 | 0.082 | | | test-pretty.R | pretty | setup files: length | PASS | 1 | 0.002 | | | test-pretty.R | pretty | setup files: class | PASS | 1 | 0.004 | | | test-pretty.R | pretty | setup files: names | PASS | 1 | 0.003 | | | test-pretty.R | pretty | setup file: length | PASS | 1 | 0.003 | | | test-pretty.R | pretty | setup file: class | PASS | 1 | 0.004 | | | test-pretty.R | pretty | setup file: names | PASS | 1 | 0.003 | | | test-pretty.R | pretty | setup text: length | PASS | 1 | 0.003 | | | test-pretty.R | pretty | setup text: class | PASS | 1 | 0.006 | | | test-pretty.R | pretty | setup text: names | PASS | 1 | 0.003 | | | test-pretty.R | pretty | full text: txt | PASS | 2 | 0.024 | | | test-pretty.R | pretty | full file: file | PASS | 1 | 0.037 | | | test-seealso.R | make seealso | cutoff: less than cutoff | PASS | 1 | 0.003 | | | test-seealso.R | make seealso | no cutoff: no elements | PASS | 1 | 0.002 | | | test-seealso.R | make seealso | no cutoff: simple call | PASS | 1 | 0.003 | | | test-tabular.R | tabular | convert dataframe to tabular header: length | PASS | 1 | 0.003 | | | test-tabular.R | tabular | convert dataframe to tabular header: class | PASS | 1 | 0.004 | | | test-tabular.R | tabular | convert dataframe to tabular no header: length | PASS | 1 | 0.002 | | | test-untangle.R | untangle | parent functions: find the parents | PASS | 1 | 0.006 | | | test-untangle.R | untangle | parent functions: parent indicies | PASS | 1 | 0.003 | | | test-untangle.R | untangle | untangle inputs: empty | PASS | 1 | 0.005 | | | test-untangle.R | untangle | untangle inputs: text functions | PASS | 1 | 0.002 | | | test-untangle.R | untangle | untangle inputs: text body | PASS | 1 | 0.002 | | | test-untangle.R | untangle | untangle inputs: file | PASS | 1 | 0.002 | |

| Failed | Warning | Skipped | | :----- | :------ | :------ | | 🛑 | ⚠️ | 🔶 |

Session Info

| Field | Value | | | :------- | :---------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Version | R version 4.3.2 (2023-10-31) | | | Platform | x86_64-pc-linux-gnu (64-bit) | | | Running | Ubuntu 22.04.4 LTS | | | Language | C | | | Timezone | UTC | |

| Package | Version | | :------- | :------ | | testthat | 3.2.1 | | covr | 3.6.4 | | covrpage | 0.2 |



metrumresearchgroup/sinew documentation built on Feb. 28, 2024, 3:13 a.m.