exampletestr: Help for Writing Unit Tests Based on Function Examples

Take the examples written in your documentation of functions and use them to create shells (skeletons which must be manually completed by the user) of test files to be tested with the 'testthat' package. Sort of like python 'doctests' for R.

Version: 1.7.3
Depends: R (≥ 3.5)
Imports: checkmate (≥ 2.0), fs (≥ 1.5), magrittr (≥ 1.5), purrr, readr (≥ 2.0), rlang (≥ 0.4), roxygen2, rstudioapi (≥ 0.4), strex (≥ 1.4.2), stringr (≥ 1.5), styler (≥ 1.2), usethis (≥ 2.0), withr (≥ 2.1)
Suggests: clipr (≥ 0.7), covr, crayon, knitr, pacman, rmarkdown, spelling, testthat (≥ 2.1)
Published: 2024年10月07日
Author: Rory Nolan ORCID iD [aut, cre], Sergi Padilla-Parra ORCID iD [ths], Thomas Quinn ORCID iD [rev], Laurent Gatto ORCID iD [rev]
Maintainer: Rory Nolan <rorynoolan at gmail.com>
License: GPL-3
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: exampletestr results

Documentation:

Reference manual: exampletestr.html , exampletestr.pdf

Downloads:

Windows binaries: r-devel: exampletestr_1.7.3.zip, r-release: exampletestr_1.7.3.zip, r-oldrel: exampletestr_1.7.3.zip
macOS binaries: r-release (arm64): exampletestr_1.7.3.tgz, r-oldrel (arm64): exampletestr_1.7.3.tgz, r-release (x86_64): exampletestr_1.7.3.tgz, r-oldrel (x86_64): exampletestr_1.7.3.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=exampletestr to link to this page.

AltStyle によって変換されたページ (->オリジナル) /