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, 'RStudio Connect', 'Shiny Server Open Source', 'Shiny Server Pro'). See demo online at <>.

Tests Vignettes

Available Snapshots

This version of shinydisconnect can be found in the following snapshots:


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