Call this function once, from the top of your Shiny UI definition. Here is an example:
ui <- shinyUI(fluidPage( useToastr(), pageWithSidebar( headerPanel("Header"), sidebarPanel( ... ), mainPanel( ... ) ) ))
useToastr()
The HTML tags to put into the <head> of the HTML file.
<head>
toastr_success, toastr_info, toastr_warning, toastr_error
toastr_success
toastr_info
toastr_warning
toastr_error
## See above
Run the code above in your browser using DataCamp Workspace