ErrorModal: ErrorModal_UI

Description Usage Arguments Examples

Description

This shiny module UI runs a specified function and alerts tha the function was completed or shows an error with message parameter for most likely cause.

Usage

1
2
ErrorModal(input, output, session, title = "Error", subtitle = NULL,
  message = "Sorry, an error has occured", try_this)

Arguments

title

Title for the Error box, defaults to "Error", but could be custom message

subtitle

Optional subtitle to describe the error

message

Ideally most likely cause for error. Example would be

try_this

User specified function to run. This will be completed if successful or on error the modal box will be shown

Examples

1
callModule(ErrorModal,"TryThis_01",title="Error",subtitle=NULL,message='Sorry, invalid column selection',try_this=column_select(input$col))

mtseman/shinyModals documentation built on May 25, 2019, 10:34 p.m.