tests/testthat/test-niters.R

test_that("niters", {
  expect_identical(niters(as.mcmc.list(mcmcr_example)), 400L)
  expect_identical(niters(mcmcr_example), 400L)
})

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.