library(camiller)
library(testthat)
test_that("cap_first capitalizes correctly", {
words <- c("camille", "new haven", "new Haven")
expect_equal(cap_first(words), c("Camille", "New haven", "New haven"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.