test_quietly_that | R Documentation |
This function runs a test_that
block quietly, suppressing messages and
output from any verbose functions.
test_quietly_that(desc, code)
desc |
A description of the test. |
code |
The code to be tested. |
No return value, called for side effects.
# Run a test quietly
test_quietly_that("quiet test example", {
testthat::expect_equal(1 + 1, 2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.