exampletestr (Q85974)
From MaRDI portal
Help for Writing Unit Tests Based on Function Examples
Language | Label | Description | Also known as |
---|---|---|---|
English | exampletestr |
Help for Writing Unit Tests Based on Function Examples |
Statements
11 June 2023
0 references
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.
0 references