I have a shiny app (divided into ui.R, server.R and helpers.R) which works on my local machine. The app does not load any libraries besides library(shiny). I am unable to deploy it to shinyapps.io. That is what I do
- I log myself into shinyapps.io (via the website www.shinyapps.io)
- I run library(rsconnect) on the R console.
- I copy the Tokens code (rsconnect::setAccountInfo...) from the www.shinyapps.io page into the R console and run it.
- I run the app in Rstudio (1 warning:
Warning in body(fun) : argument is not a function). The app runs as expected. - I use the "publish" button in the app window and get a new window saying: "R session aborted. R encountered a fatal error. The session was terminated"
Sorry, I have no idea about where to look for the error. Can you give me a hint what causes the problem? Which additional information would you need to help me?
Thanks a lot!
update: I just saw that there is a second "publish"-button in Rstudio if you have one of the app-files in the editor (without running it). When I use this one, I get the same crash, but with some more information: unexpected exception: boost::filesystem::unique_path: key is not valid in specified status (sorry, that is my own translation from German).
body(fun)? And is there anything I have to do about it? Can this warning cause thefatal errorwhen deploying the app? Sorry it's my first experience with an app and I have no experience with servers. - Joan C