I am receiving many "EXPR must be a length 1 vector" errors when my Shiny app begins to run. They soon go away after a few seconds in the running app though.
Error in switch(input$probType, between = numericInput("x1", withMathJax("Enter lower value (\\(x_1\\)):"), :
EXPR must be a length 1 vector
Probability = switch(input$probType,
"between" = numericInput("x1", withMathJax('Enter lower value (\\(x_1\\)):'), 1),
"lowerTail" = numericInput("xFixed", withMathJax('Enter a discrete value (\\(x\\)):'), 1),
"upperTail" = numericInput("xFixed", withMathJax('Enter a discrete value (\\(x\\)):'), 1),
"extreme" = numericInput("x1", withMathJax('Enter lower value (\\(x_1\\)):'), 1.0),
NULL),