test_that("jsdm_prior returns right class of object", {
expect_error(
jsdm_prior(sigmas_preds = 1),
"All arguments must be supplied as character vectors"
)
expect_s3_class(jsdm_prior(), "jsdmprior")
expect_output(print(jsdm_prior()))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.