-
Notifications
You must be signed in to change notification settings - Fork 35
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
Dealing with explicitly provided widget id warning when using shiny #49
Comments
aye. Shiny does it's own "thing" with widget id's which is somewhat frustrating given how multiple metricsgraphics widgets can be linked together automagically but also understandable since Shiny does much more automagically for developers. i haven't heard of it causing issues with Shiny apps, but you may not be able to easily link metricsgraphics charts together in a Shiny context. |
This is still ugly, but if you provide an |
Well I only have one graph so no linking is required... I've added options(warn =-1) to my server function and that has done the "trick". Thanks for the assist. |
Workaround: plotly/plotly.R#985 |
I've built a shiny application that uses metricsgraphics to create histogram. When running the application I get the following error message:
Warning in output$histPlot(...) : Ignoring explicitly provided widget ID "mjs-acd1c2bc860bf1a81780a7603d6f7b"; Shiny doesn't use them
My app can be run with the following command:
shiny::runGitHub(repo = 'mihiriyer/mental')
My code is located here:
https://github.com/mihiriyer/mental/blob/master/app.R
The app seems to work fine and so should I even be worried since it is just a warning? Should I just suppress the message and move on?
The text was updated successfully, but these errors were encountered: