ui <- fluidPage(
numericInput("number", "Enter a number", value = 5),
textOutput("answer")
)
server <- function(input, output) {
output$answer <- renderText(input$number * 10)
}
shinyApp(ui, server)A template for creating reproducible Shiny applications in R
9th September 2025




Kass et al. (2022) DOI: 10.1111/ecog.06547 install.packages("wallace") (not online)
modules contains information about each modulecreate_template() creates the skeleton appcreate_template() creates the skeleton app
Create the function:
Create the function:
Use it in the module and store the input:
Create the function:
Use it in the module and store the input:
In the Rmarkdown:
Create the function:
Use it in the module and store the input:
In the Rmarkdown:
metadata() takes care of a lot of the boring code




install.packages("shinyscholar")install.packages("shinyscholar", dependencies = TRUE)

