context("Testing cleansing corpus function")
test_that("Is cleansing_corpus Ok", {
  txt <- "It has roots in a piece of classical Latin literature from 45 BC"
  y <- cleansing_corpus(txt)
  expect_type(y, "character")
  expect_error(cleansing_corpus(100))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.