Package: exampletestr 1.7.3

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.zip(r-4.5)exampletestr_1.7.3.zip(r-4.4)exampletestr_1.7.3.zip(r-4.3)
exampletestr_1.7.3.tgz(r-4.4-any)exampletestr_1.7.3.tgz(r-4.3-any)
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://rorynolan.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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

On CRAN:

6.55 score 38 stars 7 scripts 1.0k downloads 1 mentions 3 exports 70 dependencies

Last updated 30 days agofrom:408cfc63d5. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-winOKNov 06 2024
R-4.5-linuxOKNov 06 2024
R-4.4-winOKNov 06 2024
R-4.4-macOKNov 06 2024
R-4.3-winOKNov 06 2024
R-4.3-macOKNov 06 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 Nov 06 2024.

Last update: 2020-03-10
Started: 2018-09-26

One .R file at a time

Rendered fromone-file-at-a-time.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2020-03-10
Started: 2018-09-26

One function at a time

Rendered fromone-function-at-a-time.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2020-03-10
Started: 2018-09-26

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