Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
1.7.3 rolling source/ R- exampletestr_1.7.3.tar.gz 47.8 KiB
1.7.3 latest source/ R- exampletestr_1.7.3.tar.gz 47.8 KiB
1.7.3 2026-04-23 source/ R- exampletestr_1.7.3.tar.gz 47.8 KiB
1.7.3 2026-04-09 windows/windows R-4.5 exampletestr_1.7.3.zip 87.6 KiB

Dependencies (latest)

Imports

Suggests