context("test-scan_ngcovar")
test_that("scan_ngcovar works", {
expect_is(scan_ngcovar(iris), class = "data.frame")
expect_error(scan_ngcovar(iris[,1:4]),
"There should be at least one numerical and one categorical column in .data")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.