tests/testthat/test-rename.R

test_that("rename", {
  expect_identical(rename(mcmc_data_example), mcmc_data_example)
  expect_identical(colnames(rename(mcmc_data_example, Species = species)$data), c("homeworld", "Species", "films"))
})
  
poissonconsulting/mcmcdata documentation built on Nov. 2, 2024, 2:20 a.m.