Nothing
test_that("correct message is fed back", {
expect_output(
timeline(
forestprecipitation$january,
datetime_variable = "time",
expected_lag = 1
),
"There are no time lags which are greater than the expected lag"
)
expect_output(
timeline(
forestprecipitation$february,
datetime_variable = "time",
expected_lag = 1
),
"There are time lags which are greater than the expected lag"
)
})
test_that("correct message is fed back", {
expect_true(
timeline(
forestprecipitation$january,
datetime_variable = "time",
expected_lag = 1
)
)
expect_false(
timeline(
forestprecipitation$february,
datetime_variable = "time",
expected_lag = 1
)
)
})
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.