#' @export
run_survey <- function() {
app_dir <- system.file("survey", "surveyapp", package = "bsurvey")
if (app_dir == "") {
stop("Directory does not exist!", call. = FALSE)
}
shiny::runApp(app_dir, display.mode = "auto")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.