For advanced use only. If you are creating your own expectation, you should
call expect()
instead. See vignette("custom-expectation")
for more
details.
expectation(type, message, srcref = NULL)is.expectation(x)
Expectation type. Must be one of "success", "failure", "error", "skip", "warning".
Message describing test failure
Optional srcref
giving location of test.
object to test for class membership