ignore {tinytest} | R Documentation |
Ignored expectations are not reported in the test results. Ignoring is only useful for test files, and not for use directly at the commandline. See also the vignette.
ignore(fun)
fun |
An |
an ignored function
Other test-functions: expect_equal
## The result of 'expect_warning' is not stored in the test result when ## this is run from a file. expect_true( ignore(expect_warning)(warning("foo!")) ) ## Note the placement of the brackets in ignore(expect_warning)(...).