Learn R Programming

autotest (version 0.2.0)

expect_autotest_no_warn: expect_autotest_no_warn

Description

Expect autotest_package() to be clear of warnings

Usage

expect_autotest_no_warn(object)

Value

(invisibly) The same object

Arguments

object

An autotest object to be tested

See Also

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

Examples

Run this code
# \donttest{
x <- autotest_package (package = "stats", functions = "cov", test = TRUE)
testthat::expect_failure (expect_autotest_no_warn (x))
# }

Run the code above in your browser using DataLab