Nothing
test_that("rollingMax value has the same length as the input vector", {
data("airquality")
expect_length(rollingMax(airquality$Solar.R, length = 24),
length(airquality$Solar.R))
})
test_that("rollingMax length is greater than 2", {
data("airquality")
expect_error(rollingMax(airquality$Solar.R, length = 2))
})
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.