tests/testthat/test-plot.R

test_that("plots work", {
  expect_is(dplot(Z_potts), "ggplot")
  expect_is(cplot(Z_potts + rnorm(prod(dim(Z_potts)))), "ggplot")
})

Try the mrf2d package in your browser

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

mrf2d documentation built on Jan. 26, 2022, 1:06 a.m.