Hello,
When deploying my app on shinyapps.io, I get this error :
Error in connect$configureShinyFilter(config, helpers, versions) : attempt to apply non-function Calls: local ... eval.parent -> eval -> eval -> eval -> eval -> <Anonymous> Execution halted
whereas the app works fine localy.
Code :
ui <- fluidPage(
titlePanel("Hello Shiny!"),
sidebarLayout(
sidebarPanel(
sliderInput(inputId = "bins",
label = "Number of bins:",
min = 1,
max = 50,
value = 30)
),
mainPanel(
plotOutput(outputId = "distPlot")
)
)
)
server <- function(input, output) {
output$distPlot <- renderPlot({
x <- faithful$waiting
bins <- seq(min(x), max(x), length.out = input$bins + 1)
hist(x, breaks = bins, col = "#75AADB", border = "white",
xlab = "Waiting time to next eruption (in mins)",
main = "Histogram of waiting times")
})
}
shinyApp(ui = ui, server = server)
Command to deploy : rsconnect::deployApp(appName = "Name")
Any idea what is going on ?