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"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.