Skip to contents

Expect autotest_package() to be clear of warnings

Usage

expect_autotest_no_warn(object)

Arguments

object

An autotest object to be tested

Value

(invisibly) The same object

Examples

# \donttest{
x <- autotest_package (package = "stats", functions = "cov", test = TRUE)
#> Error in cov(swM, use = "all") : missing observations in cov/cor
testthat::expect_failure (expect_autotest_no_warn (x))
# }