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 ORCID iD [aut, cre], Sergi Padilla-ParraORCID iD [ths], Thomas Quinn ORCID iD [rev], Laurent Gatto ORCID iD [rev]

Maintainer:

Rory Nolan

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