test_that("stan_fns_as_string can read in a stan function file as expected", {
skip_on_cran()
expect_error(
stan_fns_as_string(
"hazard.stan", system.file("stan", "functions", package = "epinowcast"),
NA
)
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.