tests/testthat/test-tidy.R

test_that("tidy.mcmcr", {
  x <- subset(mcmcr::mcmcr_example, iters = 1:2)
  expect_identical(tidy(x, simplify = TRUE), tidy(nlist::as_mcmc_list(x), simplify = TRUE))
})

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.