tests/testthat/test-plot.point_estimates.R

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

  set.seed(123)
  result <- bayestestR::point_estimate(m_rstan, centrality = "median")

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

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.