Debugging

Debugging Shiny applications can be a bit tricky at times. Unlike many analytics applications, using R outputs cannot be stepped through simply, and sometimes, error messages can be a little difficult to understand. Shiny does have some quite useful debugging functions, and there are some sensible practices to be used whenever you write Shiny code that should help you to avoid too many problems with debugging.

Good practice when coding Shiny applications

Probably, the most effective weapon in your armory when you are trying to write bug-free code that is easy to maintain is always making sure that anything you write within Shiny will also run outside of Shiny. You would be amazed how often this rule is violated in forum questions. Error ...

Get Web Application Development with R Using Shiny - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.