powered by
Expect autotest_package() to be clear of errors with no tests switched off
autotest_package()
expect_autotest_no_testdata(object = NULL)
(invisibly) The autotest object
Not used here, but required for testthat expectations
testthat
Other expectations: expect_autotest_no_err(), expect_autotest_no_warn(), expect_autotest_notes(), expect_autotest_testdata()
expect_autotest_no_err()
expect_autotest_no_warn()
expect_autotest_notes()
expect_autotest_testdata()
if (FALSE) { # Called within a 'testthat' test file of the local package itself: testthat::test_that ("autotest", { testthat::expect_success (expect_autotest_no_testdata ()) }) }
Run the code above in your browser using DataLab