Nothing
test_that("as.data.frame coercion works", {
dates <- Sys.Date() + 1:10
expected <- data.frame(date_index = dates, count_variable = "dates", count = 1L)
x <- incidence(data.frame(dates), date_index = "dates")
expect_identical(as.data.frame(x), expected)
})
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.