I have a problem with my shiny app. When I run the code, some results are inconsistent with what I get from R studio for the results from a specific package called "glmmTMB".
The code is working just fine on Rstudio but when I use the shiny app, I get an error message: "Can't calculate model's distribution-specific variance. Results are not reliable." which alter the results in Shiny. This seems to echo to a discussion (R2 for Zero Inflated Poisson Model · Issue #821 · glmmTMB/glmmTMB · GitHub) where the problem is solved by installing the development version of glmmTMB. Is it possible that Shiny is unable to find the right version of the package? And if so, is there a way to get around this problem?
Don't hesitate to ask for further information if needed.
Many thanks for your help.