shinypal provides the building blocks for modular, interactive
Shiny applications that turn point-and-click
pipelines into reproducible R and R Markdown code. Using {shinymeta},
shinypal assembles code modules into a draggable workflow, shows the
equivalent code as the user builds it, and lets them export the whole
pipeline as a runnable script or rendered report.
shinypal is not yet on CRAN. Install the development version from GitHub:
# install.packages("pak")
# pak::pak("willgearty/shinypal")
install.packages("shinypal", repos = c('https://willgearty.r-universe.dev', 'https://cloud.r-project.org'))
A shinypal app has two halves:
shinypal_ui() in its UI and
shinypal_setup() at the top of its server function, pointing both at a
directory of modules.ui-main.R (the panel advertising the steps), ui-aux.R (the interactive
workflow components related to those steps), and server.R (which builds the steps'
{shinymeta} reactives and registers them via shinypal).As steps are added, shinypal keeps a reactive code chain in workflow order,
renders each step's generated code, and assembles a downloadable script or
report. See vignette("shinypal") for a walkthrough of building your own app.
Development of shinypal has been supported by:
GPL (>= 3) © William Gearty