test_that("Correct number of colours returned", {
expect_equal(length(get_colour("ROB2", "cochrane")), 5)
expect_equal(length(get_colour("ROB2", "colourblind")), 5)
})
test_that("Convert weird spelling of colour", {
expect_equal(clean_colour_spelling("colorblind"), "colourblind")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.