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
Currently, if I include the line skip() in a testthat test file, I see
Error in `paste0(message, collapse = "\n")`: argument "message" is missing,
with no default
I had expected skip() to simply skip the test without specifying a message.
Is it possible to specify a more user-friendly behaviour for skip() if no message parameter is passed, either by specifying a NULL default, or by using an if (missing(message)) check?
I'd be happy to suggest a PR if helpful.
The text was updated successfully, but these errors were encountered:
* Use `IS_BIOC_BUILD_MACHINE` for `skip_on_bioc()`. Fixes#1712.
* `skip()` gains default message. Fixes#1586
* Overhaul testing and get as close as possible to 100% test coverage.
* Replace mockery with `local_mocked_bindings()`.
* Move superseded skips to own doc.
Currently, if I include the line
skip()
in a testthat test file, I seeI had expected
skip()
to simply skip the test without specifying a message.Is it possible to specify a more user-friendly behaviour for
skip()
if nomessage
parameter is passed, either by specifying aNULL
default, or by using anif (missing(message))
check?I'd be happy to suggest a PR if helpful.
The text was updated successfully, but these errors were encountered: