test_that("Print exported objects", {
stats %as% st
expect_identical(
capture.output(print(st)),
capture.output(print(sort(getNamespaceExports("stats"))))
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.