Package: exampletestr 1.7.3

Rory Nolan

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.

Authors:Rory Nolan [aut, cre], Sergi Padilla-Parra [ths], Thomas Quinn [rev], Laurent Gatto [rev]

exampletestr_1.7.3.tar.gz
exampletestr_1.7.3.tar.gz(r-4.5-noble)exampletestr_1.7.3.tar.gz(r-4.4-noble)
exampletestr_1.7.3.tgz(r-4.4-emscripten)exampletestr_1.7.3.tgz(r-4.3-emscripten)
exampletestr.pdf |exampletestr.html
exampletestr/json (API)
NEWS

# Install 'exampletestr' in R:
install.packages('exampletestr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rorynolan/exampletestr/issues

Pkgdown:https://rorynolan.github.io

2.78 score 7 scripts 1.0k downloads 1 mentions 3 exports 70 dependencies

Last updated 2 months agofrom:ff20395bac. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 07 2024
R-4.5-linuxOKDec 07 2024

Exports:make_test_shell_funmake_tests_shells_filemake_tests_shells_pkg

Dependencies:askpassbackportsbitbit64brewcallrcheckmateclicliprcommonmarkcpp11crayoncredentialscurldescdigestevaluatefansifsgertghgitcredsgluehighrhmshttr2inijsonliteknitrlifecyclemagrittropensslpillarpkgbuildpkgconfigpkgloadprettyunitsprocessxprogresspspurrrR.cacheR.methodsS3R.ooR.utilsR6rappdirsreadrrlangroxygen2rprojrootrstudioapistrexstringistringrstylersystibbletidyselecttzdbusethisutf8vctrsvroomwhiskerwithrxfunxml2yamlzip

A whole package

Rendered fromwhole-package.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2020-04-08
Started: 2018-09-27

One .R file at a time

Rendered fromone-file-at-a-time.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2020-04-08
Started: 2018-09-27

One function at a time

Rendered fromone-function-at-a-time.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2020-04-08
Started: 2018-09-27

Readme and manuals

Help Manual

Help pageTopics
Create test shells.make-test-shells make_tests_shells_file make_tests_shells_pkg make_test_shell_fun