Nothing
test_that("gen_quadratic() works", {
set.seed(20240412)
testthat::expect_snapshot(gen_quadratic(n = 500, p = 4))
testthat::expect_error(gen_quadratic(n = -500, p = 4))
testthat::expect_error(gen_quadratic(n = 500, p = -4))
})
test_that("gen_cubic() works", {
set.seed(20240412)
testthat::expect_snapshot(gen_cubic(n = 500, p = 4))
testthat::expect_error(gen_cubic(n = -500, p = 4))
testthat::expect_error(gen_cubic(n = 500, p = -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.