tests/testthat/test-plot.si.R

test_that("`plot.see_si()` works", {
  skip_if_not_installed("rstanarm")
  skip_if_not_installed("logspline")

  set.seed(123)
  result <- bayestestR::si(m_rstan, verbose = FALSE)

  expect_s3_class(plot(result), "gg")
})
easystats/see documentation built on June 11, 2025, 11:49 a.m.