exampletestr: Help for Writing Unit Tests Based on Function Examples (original) (raw)
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 [aut, cre], Sergi Padilla-Parra
[ths], Thomas Quinn
[rev], Laurent Gatto
[rev]
Maintainer:
Rory Nolan
BugReports:
https://github.com/rorynolan/exampletestr/issues
License:
URL:
https://rorynolan.github.io/exampletestr/,https://github.com/rorynolan/exampletestr#readme
NeedsCompilation:
no
Language:
en-US
Citation:
Materials:
CRAN checks: