tests/testthat/test-plot.rope.R

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

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

  expect_s3_class(plot(result), "gg")
})

Try the see package in your browser

Any scripts or data that you put into this service are public.

see documentation built on Nov. 3, 2023, 5:10 p.m.