-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extendShinyjs cannot find path in docker image can't find the #201
Comments
Hmm that's definitely a bug. And I think I have a good idea of why that's happening. When I check for the file I'm only looking at the absolute path, and not taking into account the resourch paths (that are added with That being said, I don't recommend using |
Hi, |
If you're able to provide a full reproducible example, it would make it easier for me to test/debug |
I won't have time soon to work on such a reprex BUT as I think this could help you, I will try as soon as possible. I think it will be a dockerized app ready to deploy. Anyway, thanks for replying :) |
Don't worry, this sounds like a complex issue so I don't know when I'll find the time to look into it too :) |
@gadepallivs and @earnaud : the latest version of shinyjs (not yet on CRAN, but on github) should hopefully fix this. I had to make a BREAKING CHANGE to support this, but this was a change that had to be done. Now the javascript files are being loaded the same way that any other web resource in shiny is loaded. |
I am calling a custom js file using the
extendShinyjs
. function. The following is the snippet of the app and it works perfectly on the windows desktop. I wrapped the app in a docker image and as I launch the app to test using the command below`sudo docker run -p 9000:9000 example_app R -e 'shiny::runApp("app.R")'
All the packages load and I get
The text was updated successfully, but these errors were encountered: