-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Handle delayed choices #256
Conversation
@gogonzo Before I went ahead and implemented this fix for all the modules I wanted to check with you if this is the best solution we have for this. I was not so sure about doing it this way. |
Code Coverage Summary
Diff against main
Results for commit: b146d0d Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Hey @vedhav would you be able to summarize the current state of this PR? |
It's ready to review and merge. The test would be to check if you can run the examples listed in the issue on main and reproduce the error which will go away when you checkout to this branch. |
The fix was to use the |
Alrighty, thanks for the update. Taking a look now |
Signed-off-by: Marcin <[email protected]>
Hey, this branch fixed the issue for Can you potentially share example app with other modules using delayed_choices? |
Ok, I will test the whole |
Hey @vedhav when I run Line PlotListening on http://127.0.0.1:7618
[INFO] 2024-02-13 16:17:03.5299 pid:6356 token:[dff910ff] teal Initializing reporter_previewer_module
Warning: The 'plotly_relayout' event tied a source ID of 'teal-main_ui-filter_panel-active-ADSL-filter-ADSL_AGE-inputs-histogram_plot' is not registered. In order to obtain this event data, please add `event_register(p, 'plotly_relayout')` to the plot (`p`) that you wish to obtain event data from.
Warning: Error in [[: subscript out of bounds
168: <Anonymous>
167: FUN [C:/Rprojects/teal.goshawk/R/tm_g_gh_lineplot.R#523]
166: vapply
164: <reactive> [C:/Rprojects/teal.goshawk/R/tm_g_gh_lineplot.R#518]
148: line_type_selected
141: <reactive> [C:/Rprojects/teal.goshawk/R/tm_g_gh_lineplot.R#679]
125: plot_q
124: <reactive>
108: plot_r
99: renderUI
98: func
85: renderFunc
84: output$teal-main_ui-root-visualizations-Line_Plot-module-plot-plot_out_main
3: runApp
2: print.shiny.appobj
1: <Anonymous>
Warning: Error in [[: subscript out of bounds
3: runApp
2: print.shiny.appobj
1: <Anonymous> Variable Browser |
Thanks for testing. I think it's a new bug that has popped up as Variable Browser comes from tmg. I'll have a deeper look and create a relevant issue on GitHub. |
Let me know when you will fix teal.gallery on dev and I'll pull and review again. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alrighty, so this issue is fixed, and the other one (new one) that arrised is discussed in another thread. You are good to merge, when you fix the R CMD CHECK failing.
Closes #255
Fixes the modules to get delayed choices: