knitr::opts_chunk$set( error = TRUE, collapse = TRUE, comment = "#>", out.width = "100%" )
library(testthat) context("Test test_2_plus_2.")
test_that("2 + 2 = 4", { expect_equivalent( 2 + 2, 4 ) })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.