This function identifies all Shiny input functions (e.g., selectInput, textInput, numericInput) and output functions (e.g., plotOutput, tableOutput, or custom output functions) in a UI script, and extracts the corresponding ids. It skips over lines that are source() calls.
extract_ui_features(ui_code)A data frame containing the input/output functions and their associated ids.
A character vector representing lines of Shiny UI code.