App not working after deployApp()

45 views
Skip to first unread message

Thibault Putseys

unread,
Aug 8, 2014, 3:58:44 AM8/8/14
to shinyap...@googlegroups.com
Dear all, 

My Shiny App is working perfectly fine with no errors in R in external view, but gives the following error after deploying it to Shinyapps.io online :

Application unexpectedly exited, Diagnostic information has been dumped to the Javascript console. 

This happens as soon as the page opens, I have no idea on how to fix this. Any ideas? 
Thanks a lot, 
Thibault 

Thibault Putseys

unread,
Aug 8, 2014, 9:38:30 AM8/8/14
to shinyap...@googlegroups.com
Ok found the error myself, 

I was using a shortcut to load in libraries, but apparantly, he doesn't build all necessary libraries that way when running deployApp().


Op vrijdag 8 augustus 2014 09:58:44 UTC+2 schreef Thibault Putseys:

Michael Frasco

unread,
Aug 22, 2014, 8:14:35 AM8/22/14
to shinyap...@googlegroups.com
Can you explain what you mean? When I deploy my app and the browser launches, a white screen appears with the text "ERROR: unable to install packages".

Do you know how to properly install the packages. Here is my session info: 
> sessionInfo()
R version
3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)

locale
:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached
base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base    

other attached packages
:
[1] shinyapps_0.3.57 shiny_0.10.1    

loaded via a
namespace (and not attached):
 
[1] bitops_1.0-6    caTools_1.17    digest_0.6.4    htmltools_0.2.4 httpuv_1.3.0  
 
[6] Rcpp_0.11.2     RCurl_1.95-4.1  RJSONIO_1.3-0   tools_3.1.1     xtable_1.7-3


Thanks for any help.

Andy Kipp

unread,
Aug 22, 2014, 9:14:28 AM8/22/14
to Michael Frasco, shinyap...@googlegroups.com
Michael,

What is the URL for your application? Can you send your source code?

Also check that there is no calls to install.packages() inside your code. ShinyApps will automatically detect and install your application's package dependancies. 

-Andy


--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/f373fc57-ef0e-4c12-a54f-19512c0359d8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages