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.5-any)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'))

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

Pkgdown site:https://rorynolan.github.io

On CRAN:

6.53 score 38 stars 8 scripts 983 downloads 1 mentions 3 exports 70 dependencies

Last updated 4 months agofrom:408cfc63d5. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 04 2025
R-4.5-winOKFeb 04 2025
R-4.5-macOKFeb 04 2025
R-4.5-linuxOKFeb 04 2025
R-4.4-winOKFeb 04 2025
R-4.4-macOKFeb 04 2025
R-4.3-winOKFeb 04 2025
R-4.3-macOKFeb 04 2025

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 Feb 04 2025.

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

One .R file at a time

Rendered fromone-file-at-a-time.Rmdusingknitr::rmarkdownon Feb 04 2025.

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

One function at a time

Rendered fromone-function-at-a-time.Rmdusingknitr::rmarkdownon Feb 04 2025.

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