Create a Font Awesome Bootstrap checkbox that can be used to specify logical values.
Examples
## Only run examples in interactive R sessions
if (interactive()) {
ui <- fluidPage(
awesomeCheckbox(inputId = "somevalue",
label = "A single checkbox",
value = TRUE,
status = "danger"),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderText({ input$somevalue })
}
shinyApp(ui, server)
}