tests/testthat/test-plot.R

test_that("plot.mcmcarray", {
  pdf(tempfile())
  expect_null(plot(mcmcr_example[[1]]))
  dev.off()
})

test_that("plot.mcmcarray", {
  pdf(tempfile())
  expect_null(plot(mcmcr_example))
  dev.off()
})

Try the mcmcr package in your browser

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

mcmcr documentation built on Sept. 7, 2021, 1:07 a.m.