context("Functions work as expected")
test_that("colours are valid", {
cols <- appStockcol()
expect_true(inherits(cols, "character"))
})
test_that("remap fails if only one msnset is passed", {
dat1 <- data(dunkley2006)
expect_error(remap(dat1))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.