rstudio/shiny

Add support for ifelse logic in conditionalPanel

オープン

#843 opened on 2015/05/22

 (3 件のコメント) (4 件のリアクション) (0 人の担当者)R (1,890 件のフォーク)batch import
Difficulty: IntermediateEffort: LowHelp WantedPriority: LowType: Enhancement :bulb:

Repository metrics

Stars
 (5,649 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Many times I want to do something along the lines of

conditionalPanel("input.test", "yep"),
conditionalPanel("!input.test", "nope")

Some syntactic sugar here would be awesome :) Hopefully the above could be translated into

conditionalPanel("input.test", iftrue = "yep", iffalse = "nope")

(clearly I'm not great at naming arguments)

コントリビューターガイド