Nothing
test_that("test random start", {
x <- adproclus::CGdata
expect_no_error(get_random(x, 2))
})
test_that("test semi-random start", {
x <- adproclus::CGdata
expect_no_error(get_semirandom(x, 2))
})
test_that("test rational start", {
x <- adproclus::CGdata
expect_no_error(get_rational(x, x[1:2, ]))
})
test_that("reproducibility check for all three", {
x <- adproclus::CGdata
expect_equal(get_random(x, 2, seed = 1), get_random(x, 2, seed = 1))
expect_equal(get_semirandom(x, 2, seed = 1), get_semirandom(x, 2, seed = 1))
expect_equal(get_rational(x, x[1:2, ]), get_rational(x, x[1:2, ]))
})
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.