Re: [Bioc-devel] check shiny app: issue with global variables: input$Vars is not found

2016-05-03 Thread Karim Mezhoud
Hi Stefan, Thanks, Yes you are right. I mean r_data$globalVar2 instead input$globalVar2. which r_data is a new env used to store global variables. The question is: Some functions run with variables returned from ui.R (input$var1) and in some case theses variables are saved as global variable to a

[Bioc-devel] check shiny app: issue with global variables: input$Vars is not found

2016-05-03 Thread Karim Mezhoud
Dear R, usually, Shiny app uses global variables saved in a session. These variables can be returned by client web page (checkbox or select). for example: FUN1 <- function(input$var1){ a <- input$car1 + input$globalVar2 return (a) } when I run check package I got error like object input$globalV