Shinytest

Let's say that the Shiny application we have developed runs well on our machine for some input, but for others it does not give the desired output or it gets stuck somewhere and throws errors. In the software development process, testing is one of the most important tasks. A Shiny application might stop working due to any of the following reasons:

  • The version of Shiny and the version of the packages may differ
  • A modification in the application code leads to the wrong input for any other reactive code
  • The data format may have changed

There may be countless reasons that cause us to come across errors and cause the application to stop working. Doing testing manually can be time-consuming and inefficient because you have to consider ...

Get Web Application Development with R Using Shiny - Third 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.