tests/testthat/test-mcmc-data.R

test_that("mcmc_data", {
  mcmcr_example <- mcmcr::mcmcr_example
  mcmc_data_example <- mcmc_data(mcmcr_example$alpha, dplyr::starwars[1:2, c("homeworld", "species", "films")])
  expect_identical(mcmc_data_example, mcmcdata::mcmc_data_example)
})
poissonconsulting/mcmcdata documentation built on Nov. 2, 2024, 2:20 a.m.