Good-looking problems: customise your Shiny disconnected screen and error messages.

Star Sponsor

Install

Install the stable version from CRAN:

install.packages("sever")

Get the development version from Github with remotes or devtools:

# install.packages("remotes")
remotes::install_github("JohnCoene/sever")

Usage

  1. Place useSever() in your Shiny UI.
  2. Use sever() to customise the disconnected screen.
  3. Use cleave() to customise hard error messages.
  4. Use chisel() to customise soft error messages.
  5. Use rupture() to show an idle screen.

Example

Place useSever in your Shiny UI and use the sever function server-side, cancel the session from the terminal to see the customised screen.

library(shiny)
library(sever)

ui <- fluidPage(
  useSever(),
  h1("sever")
)

server <- function(input, output){
  sever()
}

shinyApp(ui, server)

Buy me a drinkBuy me a drink