5.11 Three components to a Shiny error stack

  • First: few calls start the app. Ignore anything before the first runApp(); this is just the setup code to get the app running.
1: runApp

#Sometimes, you may see other things before runAPP ignore them
#1: source
#3: print.shiny.appobj
#5: runApp
  • Second: some internal Shiny code in charge of calling the reactive expression(output$plot is where the problem is) :
 81: output$plot
 82: renderFunc
 95: drawReactive
111: <reactive:plotObj>
125: drawPlot
165: func
  • Third: Code that you have written
167: renderPlot [app.R#13]
168: f [app.R#3]
169: g [app.R#4]