generated from r-hyperspec/pkg-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
There were changes in testthat
engine 3. Please, read https://testthat.r-lib.org/articles/third-edition.html especially section "Deprecations". Then let's decide if we should start using testthat
3 syntax in the new unit tests and systematically start updating old tests to match testthat
3.
I suggest:
- making
hySpc.testthat
depend ontestthat
v3.0.0 so that there were no unexpected things while testing on different user's machines. - making hyperSpec family packages to depend on the updated version of
hySpc.testthat
(which depends ontestthat
v3.0.0). - adding
Config/testthat/edition: 3
to DESCRIPTION file of packages. - using only
testthat
3 in the new tests. - if possible, updating syntax in currently existing tests.
- adding explicit
local_edition(2)
to the currently existing that that we do not have time to properly update now.
What do you think, @cbeleites, @sangttruong, @bryanhanson?