# NOT RUN {
if (interactive()) {
library(shiny)
library(shinysurveys)
ui <- fluidPage(
numberInput("obs", "Observations:", placeholder = "How many do you see?", min = 1, max = 100),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderText({ input$obs })
}
shinyApp(ui, server)
}
# }
Run the code above in your browser using DataLab