tests/testthat/test-ceac_plot_ggplot.R

# vdiffr::manage_cases(filter = "ceac")

# library(purrr)

test_that("ceac.plot_ggplot draws correctly", {
  load(test_path("testdata", "ce.RData"))
  
  he <- BCEA::bcea(eff, cost)
  
  ceac_plot <- ceac.plot(he, graph = "ggplot2", title = "my title")
  # vdiffr::expect_doppelganger(title = "ceac plot ggplot", fig = ceac_plot)
})
giabaio/BCEA documentation built on March 27, 2024, 5:32 p.m.