rstudio / ggvis

Interactive grammar of graphics for R
Other
713 stars 171 forks source link

input_checkox not working in layer_smooths #401

Open tklebel opened 9 years ago

tklebel commented 9 years ago

Code taken from the documentation for layer_smooths

mtcars %>% ggvis(~wt, ~mpg) %>%
    layer_smooths(se = input_checkbox(label = "Confidence interval"))

There is no confidence interval displayed (expected), checking the box is not changing it (not expected).

I'm using the latest dev version:

session_info()
Session info ---------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.2.0 (2015-04-16)
 system   x86_64, darwin13.4.0        
 ui       RStudio (0.99.412)          
 language (EN)                        
 collate  de_AT.UTF-8                 
 tz       Europe/Vienna               

Packages -------------------------------------------------------------------------------------------------
 package    * version     date       source                          
 assertthat * 0.1         2013-12-06 CRAN (R 3.2.0)                  
 DBI        * 0.3.1       2014-09-24 CRAN (R 3.2.0)                  
 devtools     1.7.0       2015-01-17 CRAN (R 3.2.0)                  
 digest     * 0.6.8       2014-12-31 CRAN (R 3.2.0)                  
 dplyr      * 0.4.1.9000  2015-04-26 Github (hadley/dplyr@c1d82aa)   
 ggvis        0.4.1.9000  2015-05-02 Github (rstudio/ggvis@342af7d)  
 htmltools  * 0.2.6       2014-09-08 CRAN (R 3.2.0)                  
 httpuv     * 1.3.2       2014-10-23 CRAN (R 3.2.0)                  
 jsonlite   * 0.9.16      2015-04-11 CRAN (R 3.2.0)                  
 lazyeval   * 0.1.10.9000 2015-05-02 Github (hadley/lazyeval@ecb8dc0)
 magrittr   * 1.5         2014-11-22 CRAN (R 3.2.0)                  
 memoise    * 0.2.1       2014-04-22 CRAN (R 3.2.0)                  
 mime       * 0.3         2015-03-29 CRAN (R 3.2.0)                  
 R6         * 2.0.1       2014-10-29 CRAN (R 3.2.0)                  
 Rcpp       * 0.11.5      2015-03-06 CRAN (R 3.2.0)                  
 RJSONIO    * 1.3-0       2014-07-28 CRAN (R 3.2.0)                  
 rstudioapi * 0.3.1       2015-04-07 CRAN (R 3.2.0)                  
 shiny        0.11.1      2015-02-11 CRAN (R 3.2.0)                  
 xtable     * 1.7-4       2014-09-12 CRAN (R 3.2.0) 
Macuyiko commented 9 years ago

Same issue, using R3.2.1 and latest ggvis.