Nothing
test_that("lags_cpp works", {
expect_error(check_lag(5, 10, 0))
expect_error(distributed_lag_parallel(rnorm(10), matrix(1:20, ncol = 5), 5, 3, 4))
expect_error(distributed_lag_parallel(rnorm(10), matrix(1:20, ncol = 5), 5, 3, -1))
expect_error(distributed_lag_parallel(rnorm(10), matrix(1:20, ncol = 5), 7, 5, 4))
expect_equal(nrow(distributed_lag_parallel(rnorm(10), matrix(1:20, ncol = 5), 4, 2, 0)), 5)
expect_equal(nrow(distributed_lag_parallel(rnorm(10), matrix(1:20, ncol = 5), 4, 3, 0)), 4)
})
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.