-
-
Notifications
You must be signed in to change notification settings - Fork 22
feat(picks): migrate main (v2) #1470
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
Open
averissimo
wants to merge
584
commits into
main
Choose a base branch
from
279-interactive_variables@main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
584 commits
Select commit
Hold shift + click to select a range
e1c18cb
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 549cb4e
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] b6ad0fe
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] fcca303
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 4097714
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 87ac497
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 5b91fe8
chore(test): remove teal_picks_playground shinytest2 file
m7pr a8be00b
chore(test): remove teal_picks_playground shinytest2 file
m7pr 63f6c1c
chore(test): remove teal_picks_playground shinytest2 file
m7pr 17cff1b
chore(test): remove teal_picks_playground shinytest2 file
m7pr 82c621a
chore(test): remove teal_picks_playground shinytest2 file
m7pr 65243e1
chore(test): remove teal_picks_playground shinytest2 file
m7pr 685c727
chore(test): remove teal_picks_playground shinytest2 file
m7pr 92886a8
chore(test): remove teal_picks_playground shinytest2 file
m7pr 45d8899
chore: restore .Rbuildignore from main
m7pr c1587d5
chore: restore .Rbuildignore from main
m7pr e0cbf70
chore: restore .Rbuildignore from main
m7pr 3d38406
chore: restore .Rbuildignore from main
m7pr f4bd7b4
chore: restore .Rbuildignore from main
m7pr 994b6e1
chore: restore .Rbuildignore from main
m7pr 6fef384
chore: restore .Rbuildignore from main
m7pr 7872017
feat(picks): migrate main (#1473)
m7pr 6d2f928
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
averissimo 886b891
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
averissimo c83ef7a
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
averissimo d30675b
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
averissimo a8509a1
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
averissimo 1357b1d
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
averissimo 36fefee
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
averissimo c9c2a6f
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
averissimo 5b36cf5
fix: linter errors
averissimo a6a438c
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr bc57091
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr b0cb3eb
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr 202b6d3
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr 99dc36a
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr bc3dc0f
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr 1a729a6
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr 81267b8
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr c11bdb5
fix: skip mmrm_picks tests
averissimo b75ab3a
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr 3f6f7b4
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr ebe6af3
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr 017f7e1
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr 1c37b39
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr 3210842
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr f572c43
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr 8cbce38
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr 55e5204
refactor: use explicit names for pick values conversion
m7pr fcbb665
refactor: use explicit names for pick values conversion
m7pr ff3432b
refactor: use explicit names for pick values conversion
m7pr 9fe45d6
refactor: use explicit names for pick values conversion
m7pr 9eb1994
refactor: use explicit names for pick values conversion
m7pr 060669f
refactor: use explicit names for pick values conversion
m7pr d6b63bb
refactor: use explicit names for pick values conversion
m7pr dd806bd
refactor: use explicit names for pick values conversion
m7pr 90cebc2
Update R/tm_t_shift_by_arm.R
m7pr c169c24
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr 2a5739b
Add fixed = TRUE to aval_var and avalu_var defaults (279-interactive …
m7pr 7e6b259
Add fixed = TRUE to id_var, aval_var, avalu_var defaults (279-interac…
m7pr 6260615
Add fixed = TRUE to id_var default (279-interactive parity)
m7pr 005b95c
Add fixed = TRUE to aval, censor, time unit, event desc defaults (279…
m7pr 7307cde
Update R/tm_t_shift_by_arm.R
m7pr 34c56b8
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 64521c5
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr 27aca20
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr 2b1a1c6
restore default values and restore deleted tests
m7pr cfb7b8f
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 2b61b03
remove suppressWarnings
m7pr 4e79edd
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr 454806b
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr 2d5d624
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr 2dea912
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr 0bdd436
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr 4d9533a
reviewer feedback
m7pr 444dcc5
Support value choices conversion (#1510)
averissimo 6f3e7ab
Support value choices conversion (#1510)
averissimo f2b8254
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr 6ddc28d
Support value choices conversion (#1510)
averissimo 2cc9ed4
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr e35cbc4
Support value choices conversion (#1510)
averissimo f8562fc
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr f751633
Support value choices conversion (#1510)
averissimo 1293efc
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr 0a2bc19
Support value choices conversion (#1510)
averissimo f2a5181
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr 24ef1d0
Support value choices conversion (#1510)
averissimo 0f24cba
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr 42b8933
Support value choices conversion (#1510)
averissimo 725ff05
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr 9746859
refactor: attach datasets via create_picks_helper
m7pr 0c6959d
refactor: attach datasets via create_picks_helper
m7pr 2031910
refactor: attach datasets via create_picks_helper
m7pr f6d47cc
refactor: attach datasets via create_picks_helper
m7pr 8720684
refactor: attach datasets via create_picks_helper
m7pr 3d03a1d
refactor: attach datasets via create_picks_helper
m7pr 8099a80
refactor: attach datasets via create_picks_helper
m7pr d8e1066
feat(utils): add migrate_list_extract_spec_to_picks helper
m7pr 44cc739
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr 19b9a8f
Merge origin/279-interactive_variables@main (utils_picks: migrate_lis…
m7pr 114a327
feat(tm_t_tte): S3 dispatch on event_desc_var (picks/variables vs leg…
m7pr 235e3a3
create S3 dispatch for tm_t_tte
m7pr 5f03eca
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 4def3f2
feat(tm_t_tte): restore teal.picks defaults as picks() with datasets
m7pr 9e8e4fc
refactor(tm_t_tte): use teal.picks::variables defaults (not picks()) …
m7pr 4915ff6
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 29de7fd
lintr issues
m7pr acafeda
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 19328e2
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr a73dffc
fix tests
m7pr 9fe5767
merge
m7pr 8757557
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] ee0e294
update utils_picks.R
m7pr 4bf60e8
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 8d6930c
revert back
m7pr 9532848
merge
m7pr 6e2bea5
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 6e10ec4
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr 9b0a286
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr ed4eec9
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] fc5cbd7
typo
m7pr 0c9b1a0
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr e3d3d35
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 5a73314
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr 11a9ff9
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr a7827e5
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] f6f29de
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] b35e904
silently return x when variables are passed to migrate_choices
m7pr 4450cb6
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 9339ae8
update docs
averissimo ee67b5d
Fixes problem with paramcd usage in picks' branch (#1515)
averissimo 44ebc24
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr e3629e8
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr 3b61954
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr d0b23df
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr 3c32954
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr e9d838d
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr 7b23e4b
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr 3ea218c
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr 573da8e
fix: test failing
averissimo 64a7ad3
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
averissimo f84d6d5
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr cd9dd3e
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr d3c0da5
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr 310ee93
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr eb07964
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr 8153cd5
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr 07db26e
fix broken test
m7pr 1af211d
revert defaults to the original state
m7pr 742a2b4
chore: add Cursor skill for picks migration default alignment
m7pr e478e4b
fix(tm_t_summary_by): align picks migration defaults with main
m7pr 8089cce
docs(tm_t_summary_by): qualify denominator default as teal.picks::val…
m7pr c54609e
refactor(tm_t_summary_by): drop redundant denominator class assert
m7pr 24d9ff9
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] ad7d4ee
Merge branch 'tm_t_summary_by@picks_modules_migration@279-interactive…
m7pr b9a2af1
chore: add module-branch-tests skill and SKILLS index
m7pr 04da886
fix(tm_t_shift_by_arm): require core encoding args like main
m7pr a7868c0
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr 45b2fda
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 2423443
chore: add picks-fixed-flag-migration skill
m7pr b6b7479
fix params and tests
m7pr ab337c5
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 27c2ce2
fix tests and revert parameters
m7pr 9a8f8a6
update migration
m7pr 9d95d85
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 6072079
update tests
m7pr fe56eb7
fix tests
m7pr 4013ccb
fix tests
m7pr 3950861
ok lets remove the test
m7pr 7d55382
fix tests
m7pr bc8f992
feat(picks): migrate tm_t_smq (#1481)
m7pr ac8d4f8
feat(picks): migrate tm_t_shift_by_grade (#1480)
m7pr 709496a
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 5ac0250
feat(picks): migrate tm_t_glm_counts (#1492)
m7pr 638a858
feat(picks): migrate tm_t_binary_outcome (#1495)
m7pr 24f3f10
feat(picks): migrate tm_t_abnormality (#1487)
m7pr 28074b1
feat(picks): migrate tm_t_shift_by_arm_by_worst (#1486)
m7pr c37042c
feat(picks): migrate tm_t_events_by_grade (#1493)
m7pr be09352
feat(picks): migrate tm_t_coxreg (#1494)
m7pr c458fca
feat(picks): migrate tm_t_events_summary (#1490)
m7pr 37f6a22
feat(picks): migrate tm_a_mmrm (#1498)
averissimo 6a8ac6a
Merge branch 'tm_t_tte@picks_modules_migration@279-interactive_variab…
m7pr 9c839f4
Merge remote-tracking branch 'origin/279-interactive_variables@main' …
m7pr ffd2af7
feat(picks): migrate tm_t_tte (#1483)
m7pr d81ad0b
Merge branch 'tm_t_summary@picks_modules_migration@279-interactive_va…
m7pr feb6baf
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] da724a9
feat(picks): migrate tm_t_summary (#1479)
m7pr 0a39b03
Merge branch 'tm_t_summary_by@picks_modules_migration@279-interactive…
m7pr 66f5e15
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 9f7a987
Merge branch 'tm_t_shift_by_arm@picks_modules_migration@279-interacti…
m7pr e8eac0e
feat(picks): tm_g_forest_rsp (#1516)
averissimo 2aa4cf6
feat(picks): tm_l_logistic (#1501)
averissimo e0e9cc3
feat(picks): tm_g_pp_adverse_events (#1507)
averissimo f4d8d75
Merge branch 'tm_t_exposure@picks_modules_migration@279-interactive_v…
m7pr d4b06a5
Merge branch 'tm_t_events_patyear@picks_modules_migration@279-interac…
m7pr 653eb67
feat(picks): tm_g_pp_vitals (#1505)
averissimo de51cd9
Merge branch 'tm_t_events@picks_modules_migration@279-interactive_var…
m7pr b83c262
feat(picks): migrate tm_t_events (#1484)
m7pr d0d7d4d
Merge branch 'tm_t_abnormality_by_worst_grade@picks_modules_migration…
m7pr 76b27e9
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 480d81e
feat(picks): tm_g_pp_laboratory (#1506)
averissimo 939139e
feat(picks): migrate tm_t_pp_medical_history (#1503)
averissimo aed5ee0
feat(picks): tm_t_pp_prior_medication (#1504)
averissimo 88bc05e
feat: tm_t_pp_basic_info (#1502)
averissimo a0220a8
feat(picks): migrate tm_t_abnormality_by_worst_grade (#1488)
m7pr 1a9e095
Migrate tm_a_gee module to teal.picks (#1508)
osenan 044a4b0
feat(picks): migrate tm_g_lineplot (#1514)
m7pr 9d8aacd
WIP (#1518)
m7pr a369945
Fix linter, style and spelling in 279-interactive_variables (#1519)
averissimo 645d745
fix: example in tm_g_pp_adverse_events
averissimo 1ccd09f
Document worst_flag in tm_t_shift_by_arm_by_worst example
m7pr ffcd4b4
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 4723f8b
Apply suggestion from @m7pr
m7pr 68c2b32
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 1795c90
Apply suggestion from @m7pr
m7pr 339b359
update teal.picks dependency version
donyunardi 228ba38
feat(picks): migrate `tm_t_ancova` (#1521)
averissimo 6e65321
migrate tm_t_pp_patient_timeline to picks (#1522)
osenan a1d4fe2
feat(picks): tm_g_ipp (#1523)
m7pr eccf293
Migrate tm_g_pp_therapy to picks (#1524)
osenan 9812adf
feat(picks): migrate tm_g_forest_tte (#1526)
averissimo c2a9a0e
fixed parameter
m7pr b1ada2c
feat(picks): migrate tm_g_km (#1520)
m7pr 5bae4f3
feat(picks): migrate tm_g_ci (#1513)
m7pr 5102a62
Merge branch '279-interactive_variables@main' of https://github.com/i…
m7pr 18aa6ba
update $fixed
m7pr ef2eac3
change conf_level to teal.picks::Values in tm_a_gee
m7pr e4e2a10
change teal.transform to teal.picks in tests
m7pr 508c6c5
migrate time_points in tm_t_tte.picks
m7pr f0a1ac9
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 3fbbfe5
tm_t_shift_by_grade was missing create_picks_helper
m7pr 5e58935
Merge branch '279-interactive_variables@main' of https://github.com/i…
m7pr 8b99f9a
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] a3e8423
migrate tm_t_mult_events module (#1529)
osenan a599ce5
remove teal.transform from examples
m7pr 9836ece
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] f3bf84d
feat(picks): tm_g_barchart_simple (#1512)
m7pr 47fe1c4
Unifying picks feature branch: `conf_level` standardization & `arg_na…
averissimo 247d003
docs: update
averissimo 36af443
update vignettes
m7pr e4de458
Fix style lint spelling@279 interactive variables@main (#1531)
osenan ceaf1a9
test module skill
m7pr 56b7206
Merge branch '279-interactive_variables@main' of https://github.com/i…
m7pr 755ea4f
Unify picks feature branch: default parameters (#1533)
averissimo 7c1f6fd
Unify module_argument template and documentation of arguments (#1532)
m7pr 7d0a1a1
Fix test@279 interactive variables@main (#1534)
osenan 8aa87a8
Fixes in modules and documentation after manual revision of module mi…
osenan 95a3c72
simplify tm_t_binary_outcome (#1538)
m7pr d3632cc
remove skills
m7pr b681610
Restore behavior of tm_t_abnormality_by_wrong as it was before migrat…
osenan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -553,17 +553,13 @@ template_mmrm_plots <- function(fit_name, | |
| #' @export | ||
| tm_a_mmrm <- function(label, | ||
| dataname, | ||
| parentname = ifelse( | ||
| inherits(arm_var, "data_extract_spec"), | ||
| teal.transform::datanames_input(arm_var), | ||
| "ADSL" | ||
| ), | ||
| aval_var, | ||
| parentname, | ||
| aval_var = teal.picks::variables(c("AVAL", "CHG")), | ||
| id_var, | ||
| arm_var, | ||
| visit_var, | ||
| cov_var, | ||
| arm_ref_comp = NULL, | ||
| arm_ref_comp, | ||
| paramcd, | ||
| method = teal.transform::choices_selected( | ||
| c("Satterthwaite", "Kenward-Roger", "Kenward-Roger-Linear"), | ||
|
|
@@ -579,7 +575,41 @@ tm_a_mmrm <- function(label, | |
| basic_table_args = teal.widgets::basic_table_args(), | ||
| ggplot2_args = teal.widgets::ggplot2_args(), | ||
| transformators = list(), | ||
| decorators = list()) { | ||
| decorators = list(), | ||
| ...) { | ||
| UseMethod("tm_a_mmrm", aval_var) | ||
| } | ||
|
|
||
| #' @export | ||
| tm_a_mmrm.default <- function(label, | ||
| dataname, | ||
| parentname = ifelse( | ||
| inherits(arm_var, "data_extract_spec"), | ||
| teal.transform::datanames_input(arm_var), | ||
| "ADSL" | ||
| ), | ||
| aval_var, | ||
| id_var, | ||
| arm_var, | ||
| visit_var, | ||
| cov_var, | ||
| arm_ref_comp = NULL, | ||
| paramcd, | ||
| method = teal.transform::choices_selected( | ||
| c("Satterthwaite", "Kenward-Roger", "Kenward-Roger-Linear"), | ||
| "Satterthwaite", | ||
| keep_order = TRUE | ||
| ), | ||
| conf_level = teal.transform::choices_selected(c(0.95, 0.9, 0.8), 0.95, keep_order = TRUE), | ||
| plot_height = c(700L, 200L, 2000L), | ||
| plot_width = NULL, | ||
| total_label = default_total_label(), | ||
| pre_output = NULL, | ||
| post_output = NULL, | ||
| basic_table_args = teal.widgets::basic_table_args(), | ||
| ggplot2_args = teal.widgets::ggplot2_args(), | ||
| transformators = list(), | ||
| decorators = list()) { | ||
| message("Initializing tm_a_mmrm") | ||
| cov_var <- teal.transform::add_no_selected_choices(cov_var, multiple = TRUE) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we here add the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still no idea what this |
||
| checkmate::assert_string(label) | ||
|
|
@@ -634,9 +664,9 @@ tm_a_mmrm <- function(label, | |
|
|
||
| module( | ||
| label = label, | ||
| server = srv_mmrm, | ||
| ui = ui_mmrm, | ||
| ui_args = c(data_extract_list, args), | ||
| server = srv_mmrm.default, | ||
| ui = ui_mmrm.default, | ||
| ui_args = c(data_extract_list, args[!names(args) %in% names(data_extract_list)]), | ||
| server_args = c( | ||
| data_extract_list, | ||
| list( | ||
|
|
@@ -658,7 +688,7 @@ tm_a_mmrm <- function(label, | |
| } | ||
|
|
||
| #' @keywords internal | ||
| ui_mmrm <- function(id, ...) { | ||
| ui_mmrm.default <- function(id, ...) { | ||
| a <- list(...) # module args | ||
| ns <- NS(id) | ||
| is_single_dataset_value <- teal.transform::is_single_dataset( | ||
|
|
@@ -893,8 +923,7 @@ ui_mmrm <- function(id, ...) { | |
| ) | ||
| } | ||
|
|
||
| #' @keywords internal | ||
| srv_mmrm <- function(id, | ||
| srv_mmrm.default <- function(id, | ||
| data, | ||
| dataname, | ||
| parentname, | ||
|
|
@@ -1034,6 +1063,7 @@ srv_mmrm <- function(id, | |
| teal.reporter::teal_card(obj), | ||
| teal.reporter::teal_card("## Module's output(s)") | ||
| ) | ||
|
|
||
| obj %>% | ||
| teal.code::eval_code(code = as.expression(anl_inputs()$expr)) %>% | ||
| teal.code::eval_code(code = as.expression(adsl_merge_inputs()$expr)) | ||
|
|
@@ -1520,19 +1550,13 @@ srv_mmrm <- function(id, | |
| }) | ||
|
|
||
| plot_r <- reactive({ | ||
| if (is.null(plot_q())) { | ||
| NULL | ||
| } else { | ||
| decorated_objs_q[[obj_ix_r()]]()[[obj_ix_r()]] | ||
| } | ||
| req(!is.null(plot_q())) | ||
| decorated_objs_q[[obj_ix_r()]]()[[obj_ix_r()]] | ||
| }) | ||
|
|
||
| table_r <- reactive({ | ||
| if (is.null(table_q())) { | ||
| NULL | ||
| } else { | ||
| decorated_objs_q[[obj_ix_r()]]()[[obj_ix_r()]] | ||
| } | ||
| req(!is.null(table_q())) | ||
| decorated_objs_q[[obj_ix_r()]]()[[obj_ix_r()]] | ||
| }) | ||
|
|
||
| pws <- teal.widgets::plot_with_settings_srv( | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.