The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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
DOI: 10.32614/CRAN.package.exampletestr
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>
BugReports: https://github.com/rorynolan/exampletestr/issues
License: GPL-3
URL: https://rorynolan.github.io/exampletestr/, https://github.com/rorynolan/exampletestr#readme
NeedsCompilation: no
Language: en-US
Citation: exampletestr citation info
Materials: NEWS
CRAN checks: exampletestr results

Documentation:

Reference manual: exampletestr.pdf
Vignettes: One .R file at a time (source, R code)
One function at a time (source)
A whole package (source, R code)

Downloads:

Package source: exampletestr_1.7.3.tar.gz
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
Old sources: exampletestr archive

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.