I have written a small application in shiny. I have the following files: global.R, server.R and ui.R
In the global.R file, I load my data. I read data from three different csv files. a.csv, b.csv and c.csv and I use merge to join a.csv and b.csv and another merge to join a.csv and c.csv
In the ui.R file, I have the layout for some filters. In the shinydashboard, I have tabItems, tabPanels containing selectInput and sliderInput for the filters.
In the server.R file, I have the implementation. One functionality is that based on the filters, I show a table with some values. If the user selects a row, I activate another tab with more details on the selected row (eg, graphs, tables etc related to the selected row)
This whole thing works perfectly when I run it on my machine using RStudio. When I move the code to the shiny server, I get the first tab layout, the functionality to activate second tab on selection all working. However in the second tab, I cannot see the table, and I get an error for the graphs. Error: 'from' cannot be NA, NaN or infinite.
I have no clue why I cannot see any data on the tab when I run the application on the server. I suspect maybe there is some problem in the merge. I want to debug and find the problem. I wanted to know how I can debug since I run this on the server using a web browser and all I can see on the browser is a line Error: 'from' cannot be NA, NaN or infinite and blank table.
Can someone give some inputs on debugging to find the problem. Thanks