inst/examples/e2e-test/R/utils.R

wireInputToOutput <- function(ids, input, output) {
  lapply(ids, function(id) {
    output[[paste0(id, "Value")]] <- renderText({
      v <- input[[id]]
      sprintf("Value: %s", if (is.list(v)) v[[1]] else v)
    })
  })
}

Try the shiny.fluent package in your browser

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

shiny.fluent documentation built on May 29, 2024, 5:45 a.m.