tests/testthat/test-as-mcmcrs.R

test_that("as.mcmcrs", {
  expect_s3_class(as.mcmcrs(list(mcmcr_example, mcmcr_example)), "mcmcrs")
  expect_identical(
    as.mcmcrs(as.mcmcrs(list(mcmcr_example, mcmcr_example))),
    as.mcmcrs(list(mcmcr_example, mcmcr_example))
  )
})

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.