Nothing
if (require(forecast) & require(testthat)) {
test_that("Accuracy generic function works", {
inputSeries <- ts(rnorm(9), f = 4)
hm <- hybridModel(inputSeries)
expect_error(accuracy(hm), NA)
expect_error(accuracy(hm$ets), NA)
expect_error(accuracy(hm$auto.arima), NA)
expect_error(accuracy(hm$nnetar), NA)
expect_error(accuracy(hm$stlm), NA)
expect_error(accuracy(hm$tbats), NA)
expect_error(accuracy(hm$thetam), NA)
})
}
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.