test_that("format_capitalize", {
expect_equal(format_capitalize("hello"), "Hello")
expect_equal(format_capitalize(c("hello", "world")), c("Hello", "World"))
expect_equal(
unique(format_capitalize(iris$Species)),
c("Setosa", "Versicolor", "Virginica")
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.