library(BayesPharma)
load("../testdata/ggplot_test_model.rda")
testthat::test_that(
desc = "plot_posterior_draws with facet_var returns ggplot object",
code = {
test_model |> brms::expose_functions(test_model, vectorize = TRUE)
BayesPharma::expect_gg(
BayesPharma::plot_posterior_draws(
model = test_model))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.