[R-pkg-devel] [SOLVED] Interpret feedback: not write testthat-tests in examples

Richel Bilderbeek r|che| @end|ng |rom r|che|b||derbeek@n|
Thu Jul 16 19:54:36 CEST 2020


Dear R package developers,

Thanks so much for the generous responses!

In summary:

- one should usually not write tests in examples, that's what the 'tests' folder is for
- if there is a demonstration, use a simple stopifnot, as one cannot assume a regular reader knows about the testthat package

Thanks again and the best, Richel Bilderbeek




More information about the R-package-devel mailing list