library(testthat)
library(shinytest)
testthat::test_that("Application works", {
shinytest::expect_pass(shinytest::testApp("inst/app", "mytest", quiet = TRUE, compareImages = FALSE))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.