Slide 9
Slide 9 text
Debugging Shiny
• #3: An error causes the app to exit
• If the web page background goes grey but the R
console hasn't returned, it's just that session that exited
• Good chance that an error is being raised in an
observe()
• Use options(shiny.observer.error = function(e, label,
domain) { browser() }) to narrow down (ugh... sorry)
• If error is expected, use a tryCatch in the observer