Skeletal example of r-shinylive Quarto document
#| '!! shinylive warning !!': |
#| shinylive does not work in self-contained HTML documents.
#| Please set `embed-resources: false` in your metadata.
#| standalone: true
#| viewerHeight: 600
library("shiny")
# Define your Shiny UI here
ui <- fluidPage(
# Your UI components go here
"Hello, world!"
)
# Define your Shiny server logic here
server <- function(input, output, session) {
# Your server code goes here
}
# Create and launch the Shiny app
shinyApp(ui, server)