Skip to contents

Expect test_data param of autotest_package to have additional note column explaining why tests have been switched off.

Usage

expect_autotest_notes(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_success (expect_autotest_notes (x))
# }