test_that("argument check", {
x <- matrix(c(1,1,1,1), ncol = 2)
expect_equal(reverse(x), "Arguments must be 1 dimensional")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.