Closed moodymudskipper closed 2 years ago
I'd rather not have checks to have the code depend on which version of {testthat} is installed so I'll just assume the last version is installed and it will work like this forever. This feature cannot be easily tested with CI so it's annoying. I don't know a clear way around it.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
I'm pretty sure I had tested this in the past, I think this might be due to https://github.com/r-lib/testthat/issues/1430
test_that() can now fail when used interractively, so we need to wrap call into
try(, silent = TRUE)