context("stacktrace")
test_that("Stacktrace runs", {
expect_true(!is.null(x<-stacktrace()))
})
test_that("Stacktrace prints", {
expect_true(!is.null(capture.output(print(stacktrace()))))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.