tests/testthat/test-combine-samples.R

test_that("combine_samples", {
  mcmc_data_example <- dplyr::select(mcmcdata::mcmc_data_example, -films)
  expect_equal(mcmcr::combine_samples(mcmc_data_example, mcmc_data_example, by = c("homeworld", "species")), mcmc_data_example)
})
poissonconsulting/mcmcdata documentation built on June 5, 2023, 8:38 a.m.