Closed bearloga closed 7 years ago
CRAN, BioConductor and GitHub are the supported package repositories on shinyapps.io.
Ah, thanks. I see it's a packrat issue, not a rsconnect issue. Okie dokie!
Could you tell me how to solve this problem?
@JiajinChen you can't :\ either get the package you want to use onto CRAN, BioConductor, or GitHub, or stop using the package in the app if you're deploying to shinyapps.io
Thanks for your reply. You mean there aren't any solution to my problem? But the packages from Github and bioconductor is really necessary to my app.
发自网易邮箱大师 On 05/21/2018 01:13, Mikhail Popov wrote:
@JiajinChen you can't :\ either get the package you want to use onto CRAN, BioConductor, or GitHub, or stop using the package in the app if you're deploying to shinyapps.io
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
But the packages from Github and bioconductor is really necessary to my app.
If your app depends on CRAN, Github and Biocondoctor 📦 it is ok. See the shinyapps.io documentation http://docs.rstudio.com/shinyapps.io/getting-started.html#using-your-r-packages-in-the-cloud
I noticed this issue when trying to deploy an app that uses packages hosted on our Gerrit servers. When I installed the same package from the GitHub mirror, the app deployed fine. Have not checked whether this is the case for packages installed from bitbucket, SVN, and Bioconductor because I can't think of any packages to check. Here's a reproducible example of a simple leaflet shiny app:
app.R:
Output with leaflet installed via
devtools::install_git()
:Output with leaflet installed via
devtools::install_github()
:P.S. Using rsconnect 0.8.5