context("description of context. Should start with a capital letter.")
test_that("describe your test here", {
#-!Start example code
# Write your example here. You can also add more Start..End blocks if needed.
# Please mask all output such as print() with the special tag
# #-!
# such that the test is not littered. Statements guarded by #-! are enabled
# in the example file which is extracted from this test file. To extract the
# example run
# extractExamples()
# on the R command line.
#-!End example code
# Define your expectations here and fix the example
expect_true(0 > 1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.