tests/testthat/test-ceac_plot_ggplot.R

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

# library(purrr)

test_that("ceac.plot_ggplot draws correctly", {
  load("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)
})

Try the BCEA package in your browser

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

BCEA documentation built on Nov. 25, 2023, 5:08 p.m.