Nothing
testthat::test_that(
"examples/fastcpd_lm.R", {
testthat::skip_if_not_installed("ggplot2")
testthat::skip_if_not_installed("mvtnorm")
source("examples/fastcpd_lm.R")
testthat::expect_equal(result_lm@cp_set, c(97, 201))
testthat::expect_equal(result_mlm@cp_set, 350)
}
)
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.