Nothing
test_that("renamecols changes column names", {
out <- renamecols(mtcars, miles = mpg, cylinders = cyl)
expect_s3_class(out, "basetable")
expect_true(all(c("miles", "cylinders") %in% names(out)))
})
test_that("renamecols does not mutate its input", {
input <- data.frame(id = c(1L, 1L, 2L), value = c(3, 3, 1))
original <- input
renamecols(input, key = id)
expect_identical(input, original)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.