rstudio/shiny — pull request #542 by wch (2014-07-16 15:09:45+00:00)
Title: Feature/select optgroup

This is built on @yihui's pull request #520, but with two main changes:

* `choicesWithNames` always converts `choices` to a named list, which simplifies a lot of other code.
* There are tests which exercise some corner cases.

The update*Input code still needs some work at this point.