Learn R Programming

autotest (version 0.2.0)

expect_autotest_no_testdata: expect_autotest_no_testdata

Description

Expect autotest_package() to be clear of errors with no tests switched off

Usage

expect_autotest_no_testdata(object = NULL)

Value

(invisibly) The autotest object

Arguments

object

Not used here, but required for testthat expectations

See Also

Other expectations: expect_autotest_no_err(), expect_autotest_no_warn(), expect_autotest_notes(), expect_autotest_testdata()

Examples

Run this code
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