tests/testthat/shinyapp-simple/ui.R

library(shiny)
shinyUI(pageWithSidebar(
  headerPanel("Hello, Shiny!"),
  sidebarPanel(
    sliderInput("obs", "Number of observations:",
                min = 1,
                max = 1000,
                value = 500)),
  mainPanel(
    plotOutput("distPlot")))
)

Try the rsconnect package in your browser

Any scripts or data that you put into this service are public.

rsconnect documentation built on Oct. 4, 2023, 5:07 p.m.