I have shiny app, which is displaying old data (4 days delay!) though on the server data are refreshed (current day).
What is strange the old dataset does not exist
This is an old question, however, in case anyone has this issue and stumbles across this question here an answer embedded deep in the closed issues of the shiny development.
Solution
Your UI is probably not a function, and so it is being cached by Shiny for performance reasons. If you don't want the caching, just make it into a function (however, this does mean that you lose the slight performance benefit of UI caching).
Turn this:
ui <- fluidPage(...)
into this:
ui <- function(req) {
fluidPage(...)
}