| expect_autotest_no_testdata | R Documentation |
Expect autotest_package() to be clear of errors with no tests switched off
expect_autotest_no_testdata(object = NULL)
object |
Not used here, but required for |
(invisibly) The autotest object
Other expectations:
expect_autotest_no_err(),
expect_autotest_no_warn(),
expect_autotest_notes(),
expect_autotest_testdata()
## Not run:
# Called within a 'testthat' test file of the local package itself:
testthat::test_that ("autotest", {
testthat::expect_success (expect_autotest_no_testdata ())
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.