I wrote a Shiny App with R Shiny, I created an account on Shinyapps.io and every step worked with rsconnect, and rsconnect::deployApp('/path/to/my/app') open a new window where my app is supposed to be displayed.
The problem is that shinyapps cannot load the packages I used in my code.
The error message is :
An error has occurred
The application failed to start (exited with code 1).
I finally found my mistake : I had to replace library("readxl") by library(readxl) (without quotation marks) for all of my packages and in both app.R (where I write the shiny app) and data.R (where I do all my data stuff)