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.
Package details |
|
---|---|
Maintainer | Rory Nolan <rorynoolan@gmail.com> |
License | GPL-3 |
Version | 1.7.3 |
URL | https://rorynolan.github.io/exampletestr/ https://github.com/rorynolan/exampletestr#readme |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.