shiny
htmltools
req()
seq()
on.exit()
observe()
isolate
observeEvent
eventReactive
reactiveTimer()
invalidateLater(ms)
git
filter
find_vars <- function(data, filter) { names(data)[vapply(data, filter, logical(1))] }
selectVarServer <- function(id, data, filter = is.numeric) { moduleServer(id, function(input, output, session) { observeEvent(data(), { updateSelectInput(session, "var", choices = find_vars(data(), filter)) }) reactive(data()[[input$var]]) }) }