test_that("print method is correct", {
x <- read_html(test_path("lego.html.bz2"))
body <- xml_find_first(x, "//body")
expect_snapshot(print(body))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.