Skip to content
Prev 5758 / 12125 Next

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

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