tar_test("precompile models", {
skip_if_missing_cmdstan()
compile_models()
for (file in c("a.stan", "b.stan", "a", "b")) {
expect_true(file.exists(compiled_path("a.stan")))
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.