[R-pkg-devel] Is using global assignment in package tests allowed?

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Thu Jan 27 17:43:16 CET 2022


On 27 January 2022 at 11:18, Ben Bolker wrote:
|    I have spent hours trying to understand the scoping behaviour of 
| testthat, mostly without success. 

It may bear repeating that use of a test runner package is NOT required by
CRAN Repo Policy, Writing R Extensions, or any other official text.

If any one of these candidate packages is too complicated, or confusing, or
lengthens your test setup, or [your reason here] then consider not using it.

Choice is a good thing, and we have a free option of using one or none of the
different available testing packages. 

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list