context("testing checkItemExists")
test_that ("check if item exists", {
setBaseURL("prod")
expect_false(checkItemExists("CHEX123")) # bad itemID
expect_true(checkItemExists("CCGftiy")) # good itemID
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.