Nothing
test_that("unstack reshapes a stacked table", {
stacked <- data.frame(
id = c(1, 2),
var = c("a", "a"),
value = c(10, 20)
)
out <- unstack(stacked, value ~ var)
expect_s3_class(out, "basetable")
expect_true("a" %in% names(out))
})
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.