Publishing Shiny but dataset not working

I have a dataset I made on excel, imported it to R Studio, added it at the top of my Shiny App code. When i run the shiny app it works perfectly, but when I published it the graph will not show on the published website. It says in my console
"Warning in data("prisondataexcel2") :
data set ‘prisondataexcel2’ not found"

Anyone know how to fix this?

Are you deploying the file along with your app? Are you using a relative path or an absolute path? Can you show your app's code? Can you show your app's logs?

Just got it from another person, Thank you!!!!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.