Hi all,
during the deploy of my shiny app I get this error
Preparing to deploy document...DONE
Uploading bundle for document: 358995...Error:
* Document depends on package "MASS" but it is not installed. Please
resolve before continuing.
Looking on net for solution but I can't .... someone can help me
thanks
Massimo
I'm not too familiar with how Shiny recognizes the 3rd party packages, but it seems like its not recognizing to install MASS. I would look into your scripts to see if you are loading it into your environment/if you're explicitly calling it up.
Hi, Raul, thanks for you answer...
MASS is a library present in base package of R so I think should be preinstalled in shinyapp server. Anyway I tried to put in my code library(MASS) but with the same error.
Considering that I deployed from my system in the same moment another app without any kind of problem....
What is the output of rsconnect::appDependencies()?
What is the output of sessionInfo()?
What kind of Shiny application do you have: app.R, ui.R & server.R, an Rmd?
Yes to test my R script before to put in server part of my app.... but I excluded that code during deploy... I tryied also to move in another folder only file app.r and my data (in csv format)
It looks like your code was not formatted correctly to make it easy to read for people trying to help you. Formatting code allows for people to more easily identify where issues may be occuring, and makes it easier to read, in general. I have edited you post to format the code properly.
In the future please put code that is inline (such as a function name, like mutate or filter) inside of backticks (`mutate`) and chunks of code (including things like console output and error messages) can be put between sets of three backticks:
```
example <- foo %>%
filter(a == 1)
```
This process can be done automatically by highlighting your code, either inline or in a chunk, ad clicking the </> button on the toolbar of the reply window!
This will help keep our community tidy and help you get the help you are looking for!
For more information, please take a look at the community's FAQ on formating code
Hi Josh, follow your indication, but get the same error
rsconnect::deployApp()
Preparing to deploy application...DONE
Uploading bundle for application: 360412...Error:
* Application depends on package "MASS" but it is not installed. Please resolve before continuing.
If you think can be useful i can copy all my code or attach app.r file and a sample of my data..