Reproducible Shiny apps with shinymeta
summary
shinymeta is an R package that captures the actual domain logic inside Shiny apps and emits runnable R code and a zip report so results are reproducible outside the app. It uses metaReactive/metaReactive2/metaExpr to mark logic, the .. operator to tag reactive reads that become variables or literal values, and expandChain and build_rmd_bundle to generate minimal R code plus an Rmd and rendered output. Examples: CRAN downloads time series (zoo rolling average + ggplot) and an uploaded-data ANOVA; meta execution (expandChain) is separate from normal runtime so app performance is unchanged.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:08Interactivity is great, but reproducibility suffers
- 5:23Example: basic Shiny app Package
- 5:44The goal: reproducible plot code
- 15:18Huzzah!
- 15:36Not the best user experience
- 15:49downloadButton() + buildRmdBundle()
- 17:05More advanced cranview app
- 17:54'Programmable' dynamic reports
- 18:25Reproducible ANOVA GUI
related talks
25mReproducibility Around a Web Application
35mBuild Simple and Scalable Apps with Shiny
27mShiny: A GUI for the Tidyverse
25mUnderstanding reactive execution in Shiny
20mWeb applications with Shiny and React and AI
14mR Shiny - From Conception to the Cloud
20mA New Era for Shiny-based Clinical Submissions using WebAssembly
20mRunning R-Shiny without a Server
