Nothing
# McmcOptions ----
test_that(".McmcOptions works as expected", {
result <- expect_silent(.McmcOptions())
expect_valid(result, "McmcOptions")
})
test_that(".McmcOptions works as expected with custom values", {
result <- expect_silent(
.McmcOptions(
iterations = 100L,
burnin = 10L,
step = 4L,
rng_kind = "base::Wichmann-Hill",
rng_seed = 2L
)
)
expect_valid(result, "McmcOptions")
})
test_that("McmcOptions object can be created with user constructor", {
result <- expect_silent(McmcOptions())
expect_valid(result, "McmcOptions")
})
test_that("McmcOptions object can be created with custom values", {
result <- expect_silent(
McmcOptions(
burnin = 1000L,
samples = 1000L,
rng_kind = "Wichmann-Hill",
rng_seed = 2L
)
)
expect_valid(result, "McmcOptions")
})
test_that("McmcOptions object can be created with custom RNG and NA values", {
result <- expect_silent(
McmcOptions(
rng_kind = "Wichmann-Hill",
rng_seed = NA
)
)
expect_valid(result, "McmcOptions")
})
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.