Extract Shiny UI input and output elements and their ids (including custom Output functions)
Source:R/ip_extract_ui_features.R
extract_ui_features.Rd
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.