-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
29 add non-cdisc examples to the modules #651
Conversation
Code Coverage Summary
Diff against main
Results for commit: 64a32e4 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 5 suites 0s ⏱️ Results for commit 64a32e4. ♻️ This comment has been updated with latest results. |
I think this change should be merged before #646 and before we start doing that for other functions |
Hey, for Listening on http://127.0.0.1:5893
[INFO] 2024-02-21 14:38:19.6924 pid:8636 token:[040e5d95] teal Initializing reporter_previewer_module
Warning: Error in super$initialize: Assertion on 'label' failed: Must be of type 'character' (or 'NULL'), not 'list'.
3: runApp
2: print.shiny.appobj
1: <Anonymous> Example code # general data example
library(teal.widgets)
data <- teal_data()
data <- within(data, {
library(nestcolor)
CO2 <- CO2
})
datanames(data) <- c("CO2")
app <- init(
data = data,
modules = modules(
tm_a_regression(
label = "Regression",
response = data_extract_spec(
dataname = "CO2",
select = select_spec(
label = "Select variable:",
choices = "uptake",
selected = "uptake",
multiple = FALSE,
fixed = TRUE
)
),
regressor = data_extract_spec(
dataname = "CO2",
select = select_spec(
label = "Select variables:",
choices = variable_choices(data[["CO2"]], c("conc", "Treatment")),
selected = "conc",
multiple = TRUE,
fixed = FALSE
)
),
ggplot2_args = ggplot2_args(
labs = list(subtitle = "Plot generated by Regression Module")
)
)
)
)
if (interactive()) {
shinyApp(app$ui, app$server)
}
|
@m7pr update your |
Ah, thanks. You are da man! |
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.
Hey, I can confirm all new examples run without issues. All modules, besides tm_file_viewer
and tm_front_page
have now a general example and CDISC example.
Well done. I do not have any other comment besides the one that gogonzo left. I also found one missing '
backtick :P
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.
👍
part of #624 ~blocked by #651~ --------- Signed-off-by: André Veríssimo <[email protected]> Co-authored-by: Vedha Viyash <[email protected]>
part of #624 ~~blocked by #651 --------- Signed-off-by: kartikeya kirar <[email protected]> Co-authored-by: Marcin <[email protected]>
Closes #29
Added general data examples to modules.