Error in `$<-.data.frame`(`*tmp*`, "config_url", value = "https://www.shinyapps.io/admin/#/application/") : replacement has 1 row, data has 0

i have issue of viewing my app on the server. i can only run it via localhost.
my title is the error showing on the logs.
After deploying this is what shows up.

ERROR: An error has occurred. Check your logs or contact the app author for clarification.

kindly help me please , i have a deadline.!

You shouldn't be using setwd() and using an absolute path inside it makes it worse, have in mind that when the app is deployed to the server is going to be executed on a computer other that yours where that file path doesn't exist, so modify your code to include relative paths only and avoid using setwd()

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

Pls how can I create a path for the server ? I dont really get. Can you please elaborate .

You don't need to, that's the point, just don't use setwd(). As I said, if you need more specific help, please provide a proper reproducible example.

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