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
cleanup can be block or file or testsuite, to specify when to clean up the files.
withr::local_tempfile() is almost good, and testthat could use it internally, but it is annoying that it fails if you copy and paste a test case to the console:
These should be cleaned up, so it would be nice to support them "natively". E.g. something like:
cleanup
can beblock
orfile
ortestsuite
, to specify when to clean up the files.withr::local_tempfile()
is almost good, and testthat could use it internally, but it is annoying that it fails if you copy and paste a test case to the console:The testthat function could just ignore these calls.
Happy to do a PR.
The text was updated successfully, but these errors were encountered: