expect_autotest_no_testdata: expect_autotest_no_testdata

expect_autotest_no_testdataR Documentation

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)

Arguments

object

Not used here, but required for testthat expectations

Value

(invisibly) The autotest object

See Also

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

Examples

## 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)

autotest documentation built on Sept. 12, 2026, 5:10 p.m.