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

James Pustejovsky jepu@to @end|ng |rom gm@||@com
Thu Jan 27 18:02:39 CET 2022


Yes, that's a good point. Thanks for the reminder.

On Thu, Jan 27, 2022 at 10:52 AM Dirk Eddelbuettel <edd using debian.org> wrote:

>
> 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
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list