if(.Platform$OS.type=="unix") { ## bugfix for Wayland rstudio clients
Sys.setenv(QT_QPA_PLATFORM="")
}
if(is.null(shinytest:::find_phantom())) stop("PhantomJS is not available")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.