Hello everyone,
I'm encountering a frustrating issue with deploying my Shiny app. The app runs perfectly on my local machine, but when I deploy it to the server, it fails with the following error in the logs:
Warning: Error in pickerInput: could not find function "pickerInput"
I'm facing an issue with my Shiny app that works perfectly fine locally but encounters errors after deploying to the server. I've made sure to include all the necessary packages in my app.R
file, and I've tried reinstalling them on the server. Despite this, I'm getting errors related to missing functions and packages.
Here are the main issues I'm encountering:
- Function Not Found Errors: Despite having
shinyWidgets
andbslib
loaded and working locally, the server throws errors saying functions likepickerInput
andbs_theme
are not found. - Package Installation: I ensured all required packages are installed in the
app.R
script usinginstall_if_missing
, but the server logs still indicate issues with missing packages or functions. This happens even though the same setup works without issues on my local machine. - Environment Differences: I suspect there might be some differences between the local and server environments that are causing these issues, but I'm not sure where to look or how to resolve this.
I've tried tagging the key packages like bslib
, but couldn't find shinyWidgets
in the tags. Any advice on how to troubleshoot this or if anyone has faced similar issues would be greatly appreciated!