tests/README.md

Tests and Coverage

21 December, 2018 11:12:46

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

| Object | Coverage (%) | | :----------------------------------------- | :----------: | | remedy | 0.8 | | R/align.R | 0.0 | | R/backtickr.R | 0.0 | | R/blockquoter.R | 0.0 | | R/chunknamer.R | 0.0 | | R/chunkr.R | 0.0 | | R/chunksplitr.R | 0.0 | | R/emphasize.R | 0.0 | | R/footnoter.R | 0.0 | | R/headr.R | 0.0 | | R/htmlcommentr.R | 0.0 | | R/imager.R | 0.0 | | R/internal.R | 0.0 | | R/latexr.R | 0.0 | | R/listr.R | 0.0 | | R/mover.R | 0.0 | | R/opts_complete.R | 0.0 | | R/opts.R | 0.0 | | R/tabler.R | 0.0 | | R/urlr.R | 0.0 | | R/xaringan.R | 0.0 | | R/youtuber.R | 0.0 | | R/example_utils.R | 3.7 | | R/utils.R | 25.0 |

Unit Tests

Unit Test summary is created using the testthat package.

| file | n | time | error | failed | skipped | warning | | :----------------------------------------------------------- | -: | ----: | ----: | -----: | ------: | ------: | | test-backtick.R | 4 | 1.194 | 0 | 0 | 0 | 0 | | test-blockquote.R | 4 | 1.179 | 0 | 0 | 0 | 0 | | test-chunk.R | 4 | 1.266 | 0 | 0 | 0 | 0 | | test-chunknamer.R | 4 | 1.341 | 0 | 0 | 0 | 0 | | test-emphasizers.R | 6 | 1.532 | 0 | 0 | 0 | 0 | | test-enclose.R | 4 | 1.174 | 0 | 0 | 0 | 0 | | test-footnote.R | 4 | 1.182 | 0 | 0 | 0 | 0 | | test-headr.R | 7 | 1.440 | 0 | 0 | 0 | 0 | | test-image.R | 6 | 1.847 | 0 | 0 | 0 | 0 | | test-latex.R | 4 | 1.266 | 0 | 0 | 0 | 0 | | test-link.R | 16 | 0.018 | 0 | 0 | 0 | 0 | | test-list.R | 11 | 3.285 | 0 | 0 | 0 | 0 | | test-multiline_prefix.R | 7 | 2.044 | 0 | 0 | 0 | 0 | | test-prefix.R | 5 | 1.547 | 0 | 0 | 0 | 0 | | test-right.R | 4 | 1.311 | 0 | 0 | 0 | 0 | | test-url.R | 6 | 1.866 | 0 | 0 | 0 | 0 | | test-xaringan.R | 2 | 0.497 | 0 | 0 | 0 | 0 | | test-youtube.R | 4 | 1.191 | 0 | 0 | 0 | 0 |

Show Detailed Test Results

| file | context | test | status | n | time | | :---------------------------------------------------------------- | :------------------------------ | :--------------------------------------------------------- | :----- | -: | ----: | | test-backtick.R | backticks | backticks: empty | PASS | 1 | 0.201 | | test-backtick.R | backticks | backticks: highlighted | PASS | 1 | 0.319 | | test-backtick.R | backticks | backticks: multiline | PASS | 1 | 0.330 | | test-backtick.R | backticks | backticks: multiselect | PASS | 1 | 0.344 | | test-blockquote.R | blockquoter | blockquoter: empty | PASS | 1 | 0.189 | | test-blockquote.R | blockquoter | blockquoter: highlighted | PASS | 1 | 0.320 | | test-blockquote.R | blockquoter | blockquoter: multiline | PASS | 1 | 0.329 | | test-blockquote.R | blockquoter | blockquoter: multiparagraph | PASS | 1 | 0.341 | | test-chunk.R | chunks | splitting: splitting one chunk into two | PASS | 1 | 0.329 | | test-chunk.R | chunks | params: splitting one chunk into two carrying chunk params | PASS | 1 | 0.319 | | test-chunk.R | chunks | creating: full document | PASS | 1 | 0.297 | | test-chunk.R | chunks | wrapping: section | PASS | 1 | 0.321 | | test-chunknamer.R | chunknamer | splitting: splitting one chunk into two | PASS | 1 | 0.353 | | test-chunknamer.R | chunknamer | params: splitting one chunk into two carrying chunk params | PASS | 1 | 0.347 | | test-chunknamer.R | chunknamer | creating: full document | PASS | 1 | 0.301 | | test-chunknamer.R | chunknamer | wrapping: section | PASS | 1 | 0.340 | | test-emphasizers.R | emphasizers | italics: empty | PASS | 1 | 0.179 | | test-emphasizers.R | emphasizers | italics: highlighted | PASS | 1 | 0.332 | | test-emphasizers.R | emphasizers | bold: empty | PASS | 1 | 0.183 | | test-emphasizers.R | emphasizers | bold: highlighted | PASS | 1 | 0.336 | | test-emphasizers.R | emphasizers | strike: empty | PASS | 1 | 0.182 | | test-emphasizers.R | emphasizers | strike: highlighted | PASS | 1 | 0.320 | | test-enclose.R | enclose | enclose: empty | PASS | 1 | 0.183 | | test-enclose.R | enclose | enclose: highlighted | PASS | 1 | 0.328 | | test-enclose.R | enclose | enclose: multiple lines | PASS | 1 | 0.329 | | test-enclose.R | enclose | enclose: multiple selections | PASS | 1 | 0.334 | | test-footnote.R | footnotes | footnotes: empty | PASS | 1 | 0.188 | | test-footnote.R | footnotes | footnotes: highlighted | PASS | 1 | 0.329 | | test-footnote.R | footnotes | footnotes: multiline | PASS | 1 | 0.329 | | test-footnote.R | footnotes | footnotes: multiselect | PASS | 1 | 0.336 | | test-headr.R | headr | add headers to source editor: # | PASS | 1 | 0.186 | | test-headr.R | headr | add headers to source editor: ## | PASS | 1 | 0.184 | | test-headr.R | headr | add headers to source editor: ### | PASS | 1 | 0.187 | | test-headr.R | headr | add headers to source editor: #### | PASS | 1 | 0.193 | | test-headr.R | headr | add headers to source editor: ##### | PASS | 1 | 0.185 | | test-headr.R | headr | add headers to source editor: ###### | PASS | 1 | 0.181 | | test-headr.R | headr | add headers to source editor: append | PASS | 1 | 0.324 | | test-image.R | images | images: empty | PASS | 1 | 0.192 | | test-image.R | images | images: no description bad link | PASS | 1 | 0.322 | | test-image.R | images | images: description bad link | PASS | 1 | 0.332 | | test-image.R | images | images: no description good link | PASS | 1 | 0.335 | | test-image.R | images | images: single word description good link | PASS | 1 | 0.340 | | test-image.R | images | images: multiple word description good link | PASS | 1 | 0.326 | | test-latex.R | latex | latex: empty | PASS | 1 | 0.197 | | test-latex.R | latex | latex: highlighted | PASS | 1 | 0.404 | | test-latex.R | latex | latex: multiline | PASS | 1 | 0.324 | | test-latex.R | latex | latex: multiselect | PASS | 1 | 0.341 | | test-link.R | url and relative link detection | urls are detected: www | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | urls are detected: http | PASS | 1 | 0.002 | | test-link.R | url and relative link detection | urls are detected: https | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | (potential) relative links are detected: md | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | (potential) relative links are detected: Rmd | PASS | 1 | 0.002 | | test-link.R | url and relative link detection | (potential) relative links are detected: subdir file | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | (potential) relative links are detected: subdir folder | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | image links are detected: png | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | image links are detected: jpg | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | image links are detected: jpeg | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | image links are detected: gif | PASS | 1 | 0.001 | | test-link.R | url and relative link detection | invalid urls/links are not detected: http/s | PASS | 2 | 0.002 | | test-link.R | url and relative link detection | invalid urls/links are not detected: www | PASS | 2 | 0.002 | | test-link.R | url and relative link detection | invalid urls/links are not detected: no .com | PASS | 1 | 0.001 | | test-list.R | lists | unordered lists: empty | PASS | 1 | 0.133 | | test-list.R | lists | unordered lists: highlighted | PASS | 1 | 0.333 | | test-list.R | lists | unordered lists: multiple lines | PASS | 1 | 0.337 | | test-list.R | lists | unordered lists: multiple lines with quote at start | PASS | 1 | 0.334 | | test-list.R | lists | unordered lists: multiple paragraphs | PASS | 1 | 0.327 | | test-list.R | lists | unordered lists: nested list | PASS | 1 | 0.347 | | test-list.R | lists | ordered lists: empty | PASS | 1 | 0.131 | | test-list.R | lists | ordered lists: highlighted | PASS | 1 | 0.340 | | test-list.R | lists | ordered lists: multiple lines | PASS | 1 | 0.332 | | test-list.R | lists | ordered lists: multiple paragraphs | PASS | 1 | 0.337 | | test-list.R | lists | ordered lists: nested list | PASS | 1 | 0.334 | | test-multiline_prefix.R | multiline prefix | prefix: empty | PASS | 1 | 0.129 | | test-multiline_prefix.R | multiline prefix | prefix: empty as_is | PASS | 1 | 0.198 | | test-multiline_prefix.R | multiline prefix | prefix: highlighted | PASS | 1 | 0.335 | | test-multiline_prefix.R | multiline prefix | prefix: multiple lines | PASS | 1 | 0.350 | | test-multiline_prefix.R | multiline prefix | prefix: multiple paragraphs | PASS | 1 | 0.339 | | test-multiline_prefix.R | multiline prefix | prefix: multiple paragraphs as_is | PASS | 1 | 0.345 | | test-multiline_prefix.R | multiline prefix | prefix: nested list | PASS | 1 | 0.348 | | test-prefix.R | prefix | prefix: empty | PASS | 1 | 0.195 | | test-prefix.R | prefix | prefix: line | PASS | 1 | 0.340 | | test-prefix.R | prefix | prefix: highlighted | PASS | 1 | 0.329 | | test-prefix.R | prefix | prefix: multiple lines | PASS | 1 | 0.337 | | test-prefix.R | prefix | prefix: multiple selections | PASS | 1 | 0.346 | | test-right.R | copy text to the right | rightr: one word | PASS | 1 | 0.317 | | test-right.R | copy text to the right | rightr: one word | PASS | 1 | 0.328 | | test-right.R | copy text to the right | rightr: multiple words | PASS | 1 | 0.345 | | test-right.R | copy text to the right | rightr: highlighting | PASS | 1 | 0.321 | | test-url.R | urls | urls: empty | PASS | 1 | 0.182 | | test-url.R | urls | urls: no description bad link | PASS | 1 | 0.332 | | test-url.R | urls | urls: description bad link | PASS | 1 | 0.342 | | test-url.R | urls | urls: no description good link | PASS | 1 | 0.334 | | test-url.R | urls | urls: single word description good link | PASS | 1 | 0.337 | | test-url.R | urls | urls: multiple word description good link | PASS | 1 | 0.339 | | test-xaringan.R | xaringan | urls: empty | PASS | 1 | 0.177 | | test-xaringan.R | xaringan | urls: highlighted | PASS | 1 | 0.320 | | test-youtube.R | youtube | images: empty html | PASS | 1 | 0.184 | | test-youtube.R | youtube | images: html | PASS | 1 | 0.336 | | test-youtube.R | youtube | images: html width/height | PASS | 1 | 0.333 | | test-youtube.R | youtube | images: html width/height | PASS | 1 | 0.338 |

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.2 | | Language | en_US | | Timezone | America/New_York |

| Package | Version | | :------- | :--------- | | testthat | 2.0.0.9000 | | covr | 3.2.0 | | covrpage | 0.0.68 |



ThinkR-open/remedy documentation built on Aug. 26, 2020, 5:45 p.m.