library(ggbash)
context("set-ggbash-dataset")
test_that("set ggbash dataset", {
expect_error(set_ggbash_dataset("iris"), regexp = NA) # data frame
expect_error(set_ggbash_dataset("euro.cross"), regexp = NA) # matrix
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.