source("main.R")
context("Checking whether example has converged.")
test_that("The algorithm has converged", {
expect_equal(vb$converged, TRUE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.