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.

Total

10,633

Last month

379

Last week

99

Average per day

13

Daily downloads

Total downloads

Description file content

Package
exampletestr
Type
Package
Title
Help for Writing Unit Tests Based on Function Examples
Version
1.4.1
Maintainer
Rory Nolan
Description
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.
License
GPL-3
Encoding
UTF-8
LazyData
true
Depends
R (>= 3.5.0)
Imports
filesstrings (>= 3.0.0), magrittr, stringr, styler (>= 1.0.2), purrr, roxygen2, checkmate, readr, utils, ore (>= 1.4.0), rprojroot, usethis, clisymbols, crayon, fs, glue, rlang
RoxygenNote
6.1.0
URL
BugReports
https://www.github.com/rorynolan/exampletestr/issues
Suggests
testthat, covr, knitr, rmarkdown, spelling, pacman
VignetteBuilder
knitr
Language
en-US
NeedsCompilation
no
Packaged
2018-11-07 16:53:21 UTC; rnolan
Author
Rory Nolan [aut, cre] (), Sergi Padilla-Parra [ths] (), Thomas Quinn [rev] (), Laurent Gatto [rev] ()
Repository
CRAN
Date/Publication
2018-11-07 17:10:03 UTC

install.packages('exampletestr')

1.4.1

10 days ago

https://rorynolan.github.io/exampletestr

Rory Nolan

GPL-3

Depends on

R (>= 3.5.0)

Imports

filesstrings (>= 3.0.0), magrittr, stringr, styler (>= 1.0.2), purrr, roxygen2, checkmate, readr, utils, ore (>= 1.4.0), rprojroot, usethis, clisymbols, crayon, fs, glue, rlang

Suggests

testthat, covr, knitr, rmarkdown, spelling, pacman

Discussions