context("method-mcmcdb_pardims")
local({
test_McmcdbParameters <-
McmcdbParameters(list(alpha = "alpha", beta = c("beta.1", "beta.2")))
test_that("mcmcdb_flatpars,McmcdbParameters-method works as expected", {
expect_equal(mcmcdb_pardims(test_McmcdbParameters),
list(alpha = 1L, beta = 2L))
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.