skip_if_no_cmdstanpy <- function() {
if (!reticulate::py_module_available("cmdstanpy"))
skip("CmdStanPy not available for testing")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.