isop-phmx / GGplot-Shiny

Shiny Interface to GGplot
22 stars 18 forks source link

more gracefully handle before data added #2

Closed dpastoor closed 9 years ago

dpastoor commented 9 years ago

currently get the following error messages when launching:

Warning in validateSelected(selected, choices, inputId) :
  'selected' must be the values instead of names of 'choices' for the input 'facet_col'
Warning in validateSelected(selected, choices, inputId) :
  'selected' must be the values instead of names of 'choices' for the input 'facet_row'
output file: /var/folders/w7/cmnsdwfs30d6qc0ww6cypbb00000gn/T//Rtmp1DxppV/GGPLOTSHINY.knit.md
NULL
Warning in min(data2[, input$x_input]) :
  no non-missing arguments to min; returning Inf
Warning in max(data2[, input$x_input]) :
  no non-missing arguments to max; returning -Inf
Warning in min(data2[, input$y_input]) :
  no non-missing arguments to min; returning Inf
Warning in max(data2[, input$y_input]) :
  no non-missing arguments to max; returning -Inf
Warning in is.na(plotdata[, input$y_input]) :
  is.na() applied to non-(list or vector) of type 'NULL'
NULL
Warning in is.na(plotdata[, input$y_input]) :
  is.na() applied to non-(list or vector) of type 'NULL'
NULL
Warning in is.na(plotdata[, input$y_input]) :
  is.na() applied to non-(list or vector) of type 'NULL'
NULL
Warning in is.na(plotdata[, input$y_input]) :
  is.na() applied to non-(list or vector) of type 'NULL'
smouksassi commented 9 years ago

see previous issue while some warnings might still be produces this was also fixed. (app should not crash).