Shiny Apps

Shiny apps are cool, but they can get complicated, and frustrating to debug. Complicated apps–longer than 500 lines of code–can have subtle paradoxes caused by reactive elements. It is helpful to think carefully about how to modularize apps, much as we do with functions, so that we can debug piece by piece.

R language apps developed with collaborators by Brian Yandell using the Shiny package illustrate in various ways an evoling design over time, which made the apps easier to use, understand and debug. These repos include some lessons learned that hopefully will help others as they design and evolve apps for this project. For those interested in comparing shiny apps built in R vs. python, there is a useful development in the Shiny Geyser App repo.

The best reference for building shiny apps is Mastering Shiny, with particular attention to Ch 19 on Shiny modules. See also Modularizing Shiny app code. Yandell’s key working repos that inform this document are

Shiny App Overviews

Shiny App Examples


Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.