Nothing
test_that("forecast_opts returns correct default values", {
forecast <- forecast_opts()
expect_equal(forecast$horizon, 7)
expect_null(forecast$accumulate)
})
test_that("forecast_opts sets infer_accumulate to FALSE if accumulate is given", {
forecast <- forecast_opts(accumulate = 7)
expect_equal(forecast$accumulate, 7)
})
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.