Closed abalter closed 5 years ago
I am not quite sure about whether all the Bioconductor packages are available on the shiny platforms. I have not tried to deploy from servers recently, did you try locally first?
On Fri, Aug 17, 2018 at 11:45 AM Ariel Balter notifications@github.com wrote:
Before I reinvent the wheel (not that there is anything wrong with that in some cases) I wanted to check if you have been able to deploy this app on shinyapps.io http://www.shinyapps.io.
I followed the instructions http://docs.rstudio.com/shinyapps.io/getting-started.html#deploying-a-sample-application to deploy the application, but ran into some errors:
rsconnect::deployApp('shiny-phyloseq') Preparing to deploy application...DONE Uploading bundle for application: 402164...--- Please select a CRAN mirror for use in this session --- [WARNING] This document format requires a nonempty
element. Please specify either 'title' or 'pagetitle' in the metadata. Falling back to 'Transform.utf8' [WARNING] This document format requires a nonempty element. Please specify either 'title' or 'pagetitle' in the metadata. Falling back to 'palette.utf8' Error: Unable to retrieve package records for the following packages:
- 'GenomeInfoDbData' In addition: Warning messages: 1: In FUN(X[[i]], ...) : Package 'GenomeInfoDbData' not available in repository or locally 2: In FUN(X[[i]], ...) : Failed to infer source for package 'd3Network'; using latest available version on CRAN instead 3: In FUN(X[[i]], ...) : Failed to infer source for package 'png'; using latest available version on CRAN instead
suggestions?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joey711/shiny-phyloseq/issues/80, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJcvdCMX6hkSkga8m9RWII84qTZPLSUks5uRw9LgaJpZM4WCB2F .
-- Susan Holmes John Henry Samter Fellow in Undergraduate Education Professor, Statistics 2017-2018 CASBS Fellow, Sequoia Hall, 390 Serra Mall Stanford, CA 94305 http://www-stat.stanford.edu/~susan/
I have indeed deployed the app to shinyapps.io. The Bioconductor packages are available there, yes. However, the way shinyapps installs packages is a bit tricky: It searches through the source code, looks for the usages of packages and then installs them. You cannot use install.packages
nor biocLite
(when required packages are installed, everything works fine even on shinyapps). In this case, shinyapps does not know that the libraries shinythemes
and networkD3
are required (I consider the app's practice of including packages in a loop to be bad), so I had to put something into the code to tell that. My fork should work.
thanks @yaccos
Before I reinvent the wheel (not that there is anything wrong with that in some cases) I wanted to check if you have been able to deploy this app on shinyapps.io.
I followed the instructions to deploy the application, but ran into some errors:
suggestions?