rstudio/shiny — pull request #340 by yihui (2013-12-19 20:38:14+00:00)
Title: fix the bug when choices=NULL in updateCheckboxGroupInput()

as reported at https://groups.google.com/forum/?pli=1#!topic/shiny-discuss/K7chwrMCvkU

Besides, I wonder why the `value` is not passed to `receiveMessage()` in shiny.js; it seems reasonable to me that `updateCheckboxGroupInput(session, 'foo', selected = 'bar')` should check the box `bar`. Same thing applies to the radio buttons.