You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
register the dependency in DESCRIPTION use_dev_package("testthat") -- it'd have to be removed before submission to CRAN if you intend to do that, so it'd have to be submitted after testthat's next release
replace your own helper with
local_mocked_bindings(
readline = mock_output_sequence("3", "This is a note", "n")
)
delete helper_mock.R
The text was updated successfully, but these errors were encountered:
It depends on whether you're planning a CRAN release of mapmetadata yourself. If you're not, it's no big deal to use testthat dev version (at least I think so? you might discover a new bug I guess as with any version of anything 😸 ). So you could do it whenever you have time.
r-lib/testthat#2061 was merged so you could (but don't have to)
pak::pak("r-lib/testthat")
use_dev_package("testthat")
-- it'd have to be removed before submission to CRAN if you intend to do that, so it'd have to be submitted after testthat's next releasehelper_mock.R
The text was updated successfully, but these errors were encountered: