context("test-createpool")
a <- ghosts::createPool("a", tempdir())
test_that("create pool works", {
expect_equal(class(a[[1]])[[1]], "Pool")
expect_equal(class(a), "list")
expect_equal(length(a), 1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.