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.6.1 |
Depends: | R (≥ 3.5.0) |
Imports: | checkmate (≥ 1.9.3), filesstrings (≥ 3.1.5), fs (≥ 1.2.3), magrittr (≥ 1.5), ore (≥ 1.4.0), purrr, readr, rlang (≥ 0.3.3), roxygen2, rstudioapi (≥ 0.4), stringr (≥ 1.3.0), styler (≥ 1.2.0), usethis (≥ 1.5.1), withr (≥ 2.1.0) |
Suggests: | clipr (≥ 0.7.0), covr, crayon, knitr, pacman, rmarkdown, spelling, testthat (≥ 2.3.0) |
Published: | 2020-04-15 |
Author: | Rory Nolan [aut, cre], Sergi Padilla-Parra [ths], Thomas Quinn [rev], Laurent Gatto [rev] |
Maintainer: | Rory Nolan <rorynoolan at gmail.com> |
BugReports: | https://www.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 |
Reference manual: | exampletestr.pdf |
Vignettes: |
One .R file at a time One function at a time A whole package |
Package source: | exampletestr_1.6.1.tar.gz |
Windows binaries: | r-devel: exampletestr_1.6.1.zip, r-release: exampletestr_1.6.1.zip, r-oldrel: exampletestr_1.6.1.zip |
macOS binaries: | r-release: exampletestr_1.6.1.tgz, r-oldrel: exampletestr_1.6.1.tgz |
Old sources: | exampletestr archive |
Please use the canonical form https://CRAN.R-project.org/package=exampletestr to link to this page.