shinymeta
Record and expose Shiny app logic using metaprogramming
shinymeta captures the logic in a Shiny app and exposes it as standalone R code that can be run outside of Shiny. It provides meta-counterparts to Shiny’s reactive building blocks (like metaReactive(), metaObserve(), and metaRender()) that track the logic needed to recreate their current state.
This package enables users to automate workflows by taking app logic into R scripts or scheduled reports, makes analysis more transparent and reproducible, and allows users to modify and extend the analysis beyond what the app interface provides. It solves the problem of Shiny apps being ephemeral black boxes by generating code that reveals and preserves the underlying analysis. The package is particularly useful for apps that work with changing data or perform exploratory analysis where users benefit from seeing and running the code themselves.




