Politely show error message in modal window instead of crashing Shiny app.
remotes::install_github("Tazovsky/tryCatchShiny")
Set option:
options(shiny.error = tryCatchShiny::recover_on_error)
and add shinyalert::useShinyalert()
to UI part of your Shiny app.
Run example Shiny app with tryCatchShiny::run_example("01-shiny-app")
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.