Nothing
test_that("test01", {
actual <- as.list(i_enumerate(icount(3)))
index <- 1:3
expected <- lapply(index, function(i) list(index = i, value = i))
expect_equal(expected, actual)
})
test_that("test02", {
actual <- as.list(i_enumerate(c()))
expected <- list()
expect_equal(expected, actual)
})
test_that("test03", {
x <- rnorm(100)
actual <- as.list(i_enumerate(x))
expected <- as.list(i_zip(index = icount(), value = x))
expect_equal(expected, actual)
})
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.