Skip to content
Back to formatted view

Raw Message

Message-ID: <1594922076296.20726.40152@webmail1>
Date: 2020-07-16T17:54:36Z
From: Richel Bilderbeek
Subject: [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