This is used to support older Shiny UI code which doesn't wrap UI in function(request) ... .

call_ui(ui, request)

Arguments

ui

A UI object, or preferably a function(request) to produce a UI object.

request

A request object to be passed to ui, if it is a function.

Value

A UI object.