I'm working on a new Shiny app, the main process in the app is to connect twitter API and use some of the twitter packages (e.g. rtweet, twitteR).
The app is working fine locally (when I ran it through the R), however, when I publish it the following error is shown:
"error reading from connection"
When I read the logs I see this error:
"Warning: Error in readRDS: error reading from connection"
It's hard to know the reason without seen any code, are you using readRDS in your app to read a file with an absolute path? How are you storing your API credentials? Have in minde that the app is being deployed to a different computer and absolute paths are not going to be the same.