context("stan models")
for (model in msglm:::msglm_model_names()) {
test_that(paste0("stan model '", model, "' compiles"), {
expect_class(msglm:::msglm_stan_model(model), "CmdStanModel")
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.