Shiny: The application failed to start (exited with code 1)

Created on 19 Apr 2018  路  8Comments  路  Source: rstudio/shiny

@jcheng5 @wch
Hello,
I try publish my Shiny app but i got this error:
Error in value[3L] : object 'gapminder' not found
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
Execution halted

I would appreciate to advise me.

Most helpful comment

I solve the problem. I had a line with setwd(directory/in/my/computer). So, I commit this line and replublished the app.

All 8 comments

Same issue ! Looking for support .
I am using Kaggle dataset with 1 million rows and I am using free shinyapps.io account for deployment

Can you provide a reproducible example?

I have the same problem. I also use a free shinyapps.io account

I solve the problem. I had a line with setwd(directory/in/my/computer). So, I commit this line and replublished the app.

I also have this issue

shiny_code_error

I scoured the internet and this person also has a similar error associated to exited with code 1 but no answer :( @wch
https://stackoverflow.com/questions/48568067/error-in-value3lcond-trying-to-get-slot-data-from-an-object-class-da

@monipip3 The "exited with code 1" is just a generic message that there was an error. In your case, there's some kind of error in your logic; specifically, a data frame is being treated like an S4 object (in that @data is being called on it), so you probably have the wrong kind of object. Ideally, try to reproduce this problem on your desktop, and use standard R debugging techniques to narrow down to the line that's causing the problem.

Failing that, please create a minimal reproducible example that we can try.

@jcheng5 I figured it out.
When I did a merge I had to use sp::merge instead of base R merge to retain the S4 object properties. When I merge a spatial object with dataframe the product output was a dataframe but using sp::merge retains the S4 properties.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

snowman55 picture snowman55  路  5Comments

beginner984 picture beginner984  路  4Comments

mdec picture mdec  路  5Comments

FrissAnalytics picture FrissAnalytics  路  5Comments

Toniiiio picture Toniiiio  路  4Comments