library(interactionR)
data(OCdata)
test_that("generates error when input parameter is not of class 'interactionR' ", {
expect_error(
interactionR_table(OCdata),
"Argument 'obj' must be an object of class 'interactionR'"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.