shinydisconnect

Show a Nice Message When a 'Shiny' App Disconnects or Errors

A 'Shiny' app can disconnect for a variety of reasons: an unrecoverable error occurred in the app, the server went down, the user lost internet connection, or any other reason that might cause the 'Shiny' app to lose connection to its server. With 'shinydisconnect', you can call disonnectMessage() anywhere in a Shiny app's UI to add a nice message when this happens. Works locally (running Shiny apps within 'RStudio') and on Shiny servers (such as shinyapps.io, 'RStudio Connect', 'Shiny Server Open Source', 'Shiny Server Pro'). See demo online at <https://daattali.com/shiny/shinydisconnect-demo/>.

Tests Vignettes

Dependencies

Imports/Depends/LinkingTo/Enhances (5)
  • checkmate
  • glue
  • htmltools
  • shiny >= 1.0
  • R
  • Suggests (1)
  • colourpicker
  • Version History