My shiny server and ui scripts run fine locally. No errors or anything. When I try to deploy them to Shiny though, I keep getting the following error message:
Attaching package: ‘shinydashboard’
The following object is masked from ‘package:graphics’:
box
Attaching package: ‘DT’
The following objects are masked from ‘package:shiny’:
dataTableOutput, renderDataTable
Error in value[[3L]](cond) : object 'sales_week' not found
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
I unfortunately can't repost the entire script for privacy reasons, but I imagine that isn't a big deal. What would be the best way to debug this? I've parsed through all my scripts and I'm still not finding any stray sales_week objects that could be doing this. No errors come up when I run it locally with ShinyApp(ui,server). Is there a command I can run that will tell you "Here is the exact line causing the error"?