-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
qenv warnings #465
qenv warnings #465
Conversation
R/tm_g_bivariate.R
Outdated
@@ -370,7 +373,7 @@ srv_g_bivariate <- function(id, | |||
|
|||
anl_merged_q <- reactive({ | |||
req(anl_merged_input()) | |||
teal.code::new_qenv(tdata2env(data), code = get_code(data)) %>% | |||
teal.code::new_qenv(tdata2env(data), code = teal.data::get_code(data)) %>% |
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.
So get_code.tdata lives in teal so do we need teal.data::
here? Would be really sad if we do...
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.
…into 63_warnings@teal_refactor@main
Co-authored-by: Nikolas Burkoff <nikolas.burkoff@roche.com> Signed-off-by: Mahmoud Hallal <86970066+mhallal1@users.noreply.github.com>
@@ -316,7 +316,10 @@ ui_distribution <- function(id, ...) { | |||
) | |||
) | |||
), | |||
forms = teal.widgets::verbatim_popup_ui(ns("rcode"), "Show R code"), | |||
forms = tagList( | |||
teal.widgets::verbatim_popup_ui(ns("warning"), "Show Warnings"), |
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.
Some are id warnings
others warning
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.
fixed
Co-authored-by: Nikolas Burkoff <nikolas.burkoff@roche.com> Signed-off-by: Mahmoud Hallal <86970066+mhallal1@users.noreply.github.com>
Signed-off-by: Nikolas Burkoff <nikolas.burkoff@tessella.com>
…actor@main" and "origin/63_warnings@teal_refactor@main"
simplify warnings
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.
👍
related to insightsengineering/teal.code#63
teal.widgets::verbatim_popup_ui
andteal.widgets::verbatim_popup_srv
to account for warnings in the modules.Please test with example apps.