context("hello_world")
test_that("hello_world function operates well", {
# The following function should be used to reduce time on CRAN by avoiding running a test since time on CRAN is limited.
# skip_on_cran()
expect_that(hello_world() == "Hello, world!", is_true())
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.