## Only run examples in interactive R sessions
if(interactive()){
ui <- lcarsPage(
lcarsCheckbox("somevalue", "Some value", FALSE),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderText({ input$somevalue })
}
shinyApp(ui, server)
}
Run the code above in your browser using DataLab