This is the work-in-progress repo for the book Mastering Shiny by Hadley Wickham. It is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Built with bookdown.
-
Shiny 101
-
Shiny in action
-
Mastering UI
- Tables
- Graphics
renderCachedPlot()
- Interactive plots
renderImage()
- Multipage apps
- Dashboards
- Shiny gadgets
- Dynamic UI
- htmlwidgets
- Custom HTML
-
Mastering reactivity
- Reactive components
- Dependency tracking
- Scoping
- Code organisation
- Using scopes to manage object lifetimes
- Sharing working between users
- Making an app in a function
- Connecting to databases
- Advanced techniques
reactiveValues()
isolate()
- Async programming with promises
-
Shiny in production
- Troubleshooting and debugging
- Testing with shinytest
- Managing dependencies with packrat
- Performance and scalability
- Load testing with shinyloadtest
- Deployment options
-
Appendix
- Server-side selectize and DT
- R Markdown integration
- Reproducibility
There are three directories for images:
-
diagrams/
contains omnigraffle diagrams. Source of truth is.graffle
files. Can delete all subdirectories. -
screenshots/
contains programmatic screenshots. Source of truth is book code. Can delete all subdirectories. -
images/
contains images created some other way. Images are source of truth and should not be deleted.