Nothing
context("test-glance_data_in_workbook")
test_that("output format", {
glance <-
glance_data_in_workbook(iris)
expect_true(is.list(glance))
})
test_that("size of each list element", {
glance <- glance_data_in_workbook(iris)
elements <- unlist(lapply(glance, nrow))
expect_true(all(elements == c(5, 2, 0, 0, 0, 4, 1)))
})
test_that("output format error message", {
filename <- "wrongformat.doc"
expect_error(glance_data_in_workbook(iris, filename))
})
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.