Skip to content
Open
Show file tree
Hide file tree
Changes from 40 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] Apr 14, 2026
549cb4e
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 14, 2026
b6ad0fe
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 14, 2026
fcca303
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 14, 2026
4097714
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 14, 2026
87ac497
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 14, 2026
5b91fe8
chore(test): remove teal_picks_playground shinytest2 file
m7pr Apr 14, 2026
a8be00b
chore(test): remove teal_picks_playground shinytest2 file
m7pr Apr 14, 2026
63f6c1c
chore(test): remove teal_picks_playground shinytest2 file
m7pr Apr 14, 2026
17cff1b
chore(test): remove teal_picks_playground shinytest2 file
m7pr Apr 14, 2026
82c621a
chore(test): remove teal_picks_playground shinytest2 file
m7pr Apr 14, 2026
65243e1
chore(test): remove teal_picks_playground shinytest2 file
m7pr Apr 14, 2026
685c727
chore(test): remove teal_picks_playground shinytest2 file
m7pr Apr 14, 2026
92886a8
chore(test): remove teal_picks_playground shinytest2 file
m7pr Apr 14, 2026
45d8899
chore: restore .Rbuildignore from main
m7pr Apr 14, 2026
c1587d5
chore: restore .Rbuildignore from main
m7pr Apr 14, 2026
e0cbf70
chore: restore .Rbuildignore from main
m7pr Apr 14, 2026
3d38406
chore: restore .Rbuildignore from main
m7pr Apr 14, 2026
f4bd7b4
chore: restore .Rbuildignore from main
m7pr Apr 14, 2026
994b6e1
chore: restore .Rbuildignore from main
m7pr Apr 14, 2026
6fef384
chore: restore .Rbuildignore from main
m7pr Apr 14, 2026
7872017
feat(picks): migrate main (#1473)
m7pr Apr 15, 2026
6d2f928
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
averissimo Apr 15, 2026
886b891
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
averissimo Apr 15, 2026
c83ef7a
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
averissimo Apr 15, 2026
d30675b
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
averissimo Apr 15, 2026
a8509a1
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
averissimo Apr 15, 2026
1357b1d
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
averissimo Apr 15, 2026
36fefee
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
averissimo Apr 15, 2026
c9c2a6f
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
averissimo Apr 15, 2026
5b36cf5
fix: linter errors
averissimo Apr 15, 2026
a6a438c
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr Apr 16, 2026
bc57091
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr Apr 16, 2026
b0cb3eb
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr Apr 16, 2026
202b6d3
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr Apr 16, 2026
99dc36a
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr Apr 16, 2026
bc3dc0f
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr Apr 16, 2026
1a729a6
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr Apr 16, 2026
81267b8
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr Apr 16, 2026
c11bdb5
fix: skip mmrm_picks tests
averissimo Apr 16, 2026
b75ab3a
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr Apr 16, 2026
3f6f7b4
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr Apr 16, 2026
ebe6af3
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr Apr 16, 2026
017f7e1
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr Apr 16, 2026
1c37b39
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr Apr 16, 2026
3210842
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr Apr 16, 2026
f572c43
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr Apr 16, 2026
8cbce38
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr Apr 16, 2026
55e5204
refactor: use explicit names for pick values conversion
m7pr Apr 17, 2026
fcbb665
refactor: use explicit names for pick values conversion
m7pr Apr 17, 2026
ff3432b
refactor: use explicit names for pick values conversion
m7pr Apr 17, 2026
9fe45d6
refactor: use explicit names for pick values conversion
m7pr Apr 17, 2026
9eb1994
refactor: use explicit names for pick values conversion
m7pr Apr 17, 2026
060669f
refactor: use explicit names for pick values conversion
m7pr Apr 17, 2026
d6b63bb
refactor: use explicit names for pick values conversion
m7pr Apr 17, 2026
dd806bd
refactor: use explicit names for pick values conversion
m7pr Apr 17, 2026
90cebc2
Update R/tm_t_shift_by_arm.R
m7pr Apr 17, 2026
c169c24
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr Apr 17, 2026
2a5739b
Add fixed = TRUE to aval_var and avalu_var defaults (279-interactive …
m7pr Apr 17, 2026
7e6b259
Add fixed = TRUE to id_var, aval_var, avalu_var defaults (279-interac…
m7pr Apr 17, 2026
6260615
Add fixed = TRUE to id_var default (279-interactive parity)
m7pr Apr 17, 2026
005b95c
Add fixed = TRUE to aval, censor, time unit, event desc defaults (279…
m7pr Apr 17, 2026
7307cde
Update R/tm_t_shift_by_arm.R
m7pr Apr 17, 2026
34c56b8
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 17, 2026
64521c5
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr Apr 20, 2026
27aca20
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr Apr 20, 2026
2b1a1c6
restore default values and restore deleted tests
m7pr Apr 20, 2026
cfb7b8f
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 20, 2026
2b61b03
remove suppressWarnings
m7pr Apr 20, 2026
4e79edd
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr Apr 20, 2026
454806b
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr Apr 20, 2026
2d5d624
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr Apr 20, 2026
2dea912
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr Apr 20, 2026
0bdd436
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr Apr 20, 2026
4d9533a
reviewer feedback
m7pr Apr 21, 2026
444dcc5
Support value choices conversion (#1510)
averissimo Apr 24, 2026
6f3e7ab
Support value choices conversion (#1510)
averissimo Apr 24, 2026
f2b8254
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr Apr 24, 2026
6ddc28d
Support value choices conversion (#1510)
averissimo Apr 24, 2026
2cc9ed4
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr Apr 24, 2026
e35cbc4
Support value choices conversion (#1510)
averissimo Apr 24, 2026
f8562fc
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr Apr 24, 2026
f751633
Support value choices conversion (#1510)
averissimo Apr 24, 2026
1293efc
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr Apr 24, 2026
0a2bc19
Support value choices conversion (#1510)
averissimo Apr 24, 2026
f2a5181
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr Apr 24, 2026
24ef1d0
Support value choices conversion (#1510)
averissimo Apr 24, 2026
0f24cba
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr Apr 24, 2026
42b8933
Support value choices conversion (#1510)
averissimo Apr 24, 2026
725ff05
refactor: use migrate_* helpers after deprecate_pick removal (#1510)
m7pr Apr 24, 2026
9746859
refactor: attach datasets via create_picks_helper
m7pr Apr 24, 2026
0c6959d
refactor: attach datasets via create_picks_helper
m7pr Apr 24, 2026
2031910
refactor: attach datasets via create_picks_helper
m7pr Apr 24, 2026
f6d47cc
refactor: attach datasets via create_picks_helper
m7pr Apr 24, 2026
8720684
refactor: attach datasets via create_picks_helper
m7pr Apr 24, 2026
3d03a1d
refactor: attach datasets via create_picks_helper
m7pr Apr 24, 2026
8099a80
refactor: attach datasets via create_picks_helper
m7pr Apr 24, 2026
d8e1066
feat(utils): add migrate_list_extract_spec_to_picks helper
m7pr Apr 29, 2026
44cc739
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr Apr 29, 2026
19b9a8f
Merge origin/279-interactive_variables@main (utils_picks: migrate_lis…
m7pr Apr 29, 2026
114a327
feat(tm_t_tte): S3 dispatch on event_desc_var (picks/variables vs leg…
m7pr Apr 29, 2026
235e3a3
create S3 dispatch for tm_t_tte
m7pr Apr 29, 2026
5f03eca
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 29, 2026
4def3f2
feat(tm_t_tte): restore teal.picks defaults as picks() with datasets
m7pr Apr 29, 2026
9e8e4fc
refactor(tm_t_tte): use teal.picks::variables defaults (not picks()) …
m7pr Apr 29, 2026
4915ff6
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 29, 2026
29de7fd
lintr issues
m7pr Apr 30, 2026
acafeda
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Apr 30, 2026
19328e2
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr May 4, 2026
a73dffc
fix tests
m7pr May 4, 2026
9fe5767
merge
m7pr May 4, 2026
8757557
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 4, 2026
ee0e294
update utils_picks.R
m7pr May 4, 2026
4bf60e8
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 4, 2026
8d6930c
revert back
m7pr May 4, 2026
9532848
merge
m7pr May 4, 2026
6e2bea5
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 4, 2026
6e10ec4
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr May 4, 2026
9b0a286
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr May 4, 2026
ed4eec9
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 4, 2026
fc5cbd7
typo
m7pr May 4, 2026
0c9b1a0
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr May 4, 2026
e3d3d35
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 4, 2026
5a73314
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr May 4, 2026
11a9ff9
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr May 4, 2026
a7827e5
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 4, 2026
f6f29de
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 4, 2026
b35e904
silently return x when variables are passed to migrate_choices
m7pr May 4, 2026
4450cb6
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 4, 2026
9339ae8
update docs
averissimo May 4, 2026
ee67b5d
Fixes problem with paramcd usage in picks' branch (#1515)
averissimo May 4, 2026
44ebc24
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
m7pr May 4, 2026
e3629e8
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr May 4, 2026
3b61954
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr May 4, 2026
d0b23df
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr May 4, 2026
3c32954
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr May 4, 2026
e9d838d
Merge branch '279-interactive_variables@main' into tm_t_summary@picks…
m7pr May 4, 2026
7b23e4b
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr May 4, 2026
3ea218c
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr May 4, 2026
573da8e
fix: test failing
averissimo May 5, 2026
64a7ad3
Merge branch '279-interactive_variables@main' into tm_t_abnormality_b…
averissimo May 5, 2026
f84d6d5
Merge branch '279-interactive_variables@main' into tm_t_events@picks_…
m7pr May 5, 2026
cd9dd3e
Merge branch '279-interactive_variables@main' into tm_t_events_patyea…
m7pr May 5, 2026
d3c0da5
Merge branch '279-interactive_variables@main' into tm_t_exposure@pick…
m7pr May 5, 2026
310ee93
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr May 5, 2026
eb07964
Merge branch '279-interactive_variables@main' into tm_t_summary_by@pi…
m7pr May 5, 2026
8153cd5
Merge branch '279-interactive_variables@main' into tm_t_tte@picks_mod…
m7pr May 5, 2026
07db26e
fix broken test
m7pr May 5, 2026
1af211d
revert defaults to the original state
m7pr May 5, 2026
742a2b4
chore: add Cursor skill for picks migration default alignment
m7pr May 5, 2026
e478e4b
fix(tm_t_summary_by): align picks migration defaults with main
m7pr May 5, 2026
8089cce
docs(tm_t_summary_by): qualify denominator default as teal.picks::val…
m7pr May 5, 2026
c54609e
refactor(tm_t_summary_by): drop redundant denominator class assert
m7pr May 5, 2026
24d9ff9
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 5, 2026
ad7d4ee
Merge branch 'tm_t_summary_by@picks_modules_migration@279-interactive…
m7pr May 5, 2026
b9a2af1
chore: add module-branch-tests skill and SKILLS index
m7pr May 5, 2026
04da886
fix(tm_t_shift_by_arm): require core encoding args like main
m7pr May 5, 2026
a7868c0
Merge branch '279-interactive_variables@main' into tm_t_shift_by_arm@…
m7pr May 6, 2026
45b2fda
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 6, 2026
2423443
chore: add picks-fixed-flag-migration skill
m7pr May 6, 2026
b6b7479
fix params and tests
m7pr May 6, 2026
ab337c5
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 6, 2026
27c2ce2
fix tests and revert parameters
m7pr May 6, 2026
9a8f8a6
update migration
m7pr May 6, 2026
9d95d85
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 6, 2026
6072079
update tests
m7pr May 6, 2026
fe56eb7
fix tests
m7pr May 6, 2026
4013ccb
fix tests
m7pr May 6, 2026
3950861
ok lets remove the test
m7pr May 6, 2026
7d55382
fix tests
m7pr May 6, 2026
bc8f992
feat(picks): migrate tm_t_smq (#1481)
m7pr May 6, 2026
ac8d4f8
feat(picks): migrate tm_t_shift_by_grade (#1480)
m7pr May 6, 2026
709496a
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 6, 2026
5ac0250
feat(picks): migrate tm_t_glm_counts (#1492)
m7pr May 6, 2026
638a858
feat(picks): migrate tm_t_binary_outcome (#1495)
m7pr May 6, 2026
24f3f10
feat(picks): migrate tm_t_abnormality (#1487)
m7pr May 6, 2026
28074b1
feat(picks): migrate tm_t_shift_by_arm_by_worst (#1486)
m7pr May 6, 2026
c37042c
feat(picks): migrate tm_t_events_by_grade (#1493)
m7pr May 6, 2026
be09352
feat(picks): migrate tm_t_coxreg (#1494)
m7pr May 6, 2026
c458fca
feat(picks): migrate tm_t_events_summary (#1490)
m7pr May 6, 2026
37f6a22
feat(picks): migrate tm_a_mmrm (#1498)
averissimo May 6, 2026
6a8ac6a
Merge branch 'tm_t_tte@picks_modules_migration@279-interactive_variab…
m7pr May 7, 2026
9c839f4
Merge remote-tracking branch 'origin/279-interactive_variables@main' …
m7pr May 7, 2026
ffd2af7
feat(picks): migrate tm_t_tte (#1483)
m7pr May 7, 2026
d81ad0b
Merge branch 'tm_t_summary@picks_modules_migration@279-interactive_va…
m7pr May 7, 2026
feb6baf
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 7, 2026
da724a9
feat(picks): migrate tm_t_summary (#1479)
m7pr May 7, 2026
0a39b03
Merge branch 'tm_t_summary_by@picks_modules_migration@279-interactive…
m7pr May 7, 2026
66f5e15
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 7, 2026
9f7a987
Merge branch 'tm_t_shift_by_arm@picks_modules_migration@279-interacti…
m7pr May 7, 2026
e8eac0e
feat(picks): tm_g_forest_rsp (#1516)
averissimo May 7, 2026
2aa4cf6
feat(picks): tm_l_logistic (#1501)
averissimo May 7, 2026
e0e9cc3
feat(picks): tm_g_pp_adverse_events (#1507)
averissimo May 7, 2026
f4d8d75
Merge branch 'tm_t_exposure@picks_modules_migration@279-interactive_v…
m7pr May 7, 2026
d4b06a5
Merge branch 'tm_t_events_patyear@picks_modules_migration@279-interac…
m7pr May 7, 2026
653eb67
feat(picks): tm_g_pp_vitals (#1505)
averissimo May 7, 2026
de51cd9
Merge branch 'tm_t_events@picks_modules_migration@279-interactive_var…
m7pr May 7, 2026
b83c262
feat(picks): migrate tm_t_events (#1484)
m7pr May 7, 2026
d0d7d4d
Merge branch 'tm_t_abnormality_by_worst_grade@picks_modules_migration…
m7pr May 7, 2026
76b27e9
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 7, 2026
480d81e
feat(picks): tm_g_pp_laboratory (#1506)
averissimo May 7, 2026
939139e
feat(picks): migrate tm_t_pp_medical_history (#1503)
averissimo May 7, 2026
aed5ee0
feat(picks): tm_t_pp_prior_medication (#1504)
averissimo May 7, 2026
88bc05e
feat: tm_t_pp_basic_info (#1502)
averissimo May 7, 2026
a0220a8
feat(picks): migrate tm_t_abnormality_by_worst_grade (#1488)
m7pr May 7, 2026
1a9e095
Migrate tm_a_gee module to teal.picks (#1508)
osenan May 7, 2026
044a4b0
feat(picks): migrate tm_g_lineplot (#1514)
m7pr May 7, 2026
9d8aacd
WIP (#1518)
m7pr May 7, 2026
a369945
Fix linter, style and spelling in 279-interactive_variables (#1519)
averissimo May 7, 2026
645d745
fix: example in tm_g_pp_adverse_events
averissimo May 7, 2026
1ccd09f
Document worst_flag in tm_t_shift_by_arm_by_worst example
m7pr May 7, 2026
ffcd4b4
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 7, 2026
4723f8b
Apply suggestion from @m7pr
m7pr May 7, 2026
68c2b32
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 7, 2026
1795c90
Apply suggestion from @m7pr
m7pr May 8, 2026
339b359
update teal.picks dependency version
donyunardi May 8, 2026
228ba38
feat(picks): migrate `tm_t_ancova` (#1521)
averissimo May 11, 2026
6e65321
migrate tm_t_pp_patient_timeline to picks (#1522)
osenan May 11, 2026
a1d4fe2
feat(picks): tm_g_ipp (#1523)
m7pr May 11, 2026
eccf293
Migrate tm_g_pp_therapy to picks (#1524)
osenan May 13, 2026
9812adf
feat(picks): migrate tm_g_forest_tte (#1526)
averissimo May 13, 2026
c2a9a0e
fixed parameter
m7pr May 13, 2026
b1ada2c
feat(picks): migrate tm_g_km (#1520)
m7pr May 13, 2026
5bae4f3
feat(picks): migrate tm_g_ci (#1513)
m7pr May 13, 2026
5102a62
Merge branch '279-interactive_variables@main' of https://github.com/i…
m7pr May 13, 2026
18aa6ba
update $fixed
m7pr May 13, 2026
ef2eac3
change conf_level to teal.picks::Values in tm_a_gee
m7pr May 13, 2026
e4e2a10
change teal.transform to teal.picks in tests
m7pr May 13, 2026
508c6c5
migrate time_points in tm_t_tte.picks
m7pr May 13, 2026
f0a1ac9
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 13, 2026
3fbbfe5
tm_t_shift_by_grade was missing create_picks_helper
m7pr May 13, 2026
5e58935
Merge branch '279-interactive_variables@main' of https://github.com/i…
m7pr May 13, 2026
8b99f9a
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 13, 2026
a3e8423
migrate tm_t_mult_events module (#1529)
osenan May 13, 2026
a599ce5
remove teal.transform from examples
m7pr May 14, 2026
9836ece
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] May 14, 2026
f3bf84d
feat(picks): tm_g_barchart_simple (#1512)
m7pr May 15, 2026
47fe1c4
Unifying picks feature branch: `conf_level` standardization & `arg_na…
averissimo May 15, 2026
247d003
docs: update
averissimo May 15, 2026
36af443
update vignettes
m7pr May 15, 2026
e4de458
Fix style lint spelling@279 interactive variables@main (#1531)
osenan May 15, 2026
ceaf1a9
test module skill
m7pr May 15, 2026
56b7206
Merge branch '279-interactive_variables@main' of https://github.com/i…
m7pr May 15, 2026
755ea4f
Unify picks feature branch: default parameters (#1533)
averissimo May 18, 2026
7c1f6fd
Unify module_argument template and documentation of arguments (#1532)
m7pr May 19, 2026
7d0a1a1
Fix test@279 interactive variables@main (#1534)
osenan May 22, 2026
8aa87a8
Fixes in modules and documentation after manual revision of module mi…
osenan May 25, 2026
95a3c72
simplify tm_t_binary_outcome (#1538)
m7pr May 26, 2026
d3632cc
remove skills
m7pr May 27, 2026
b681610
Restore behavior of tm_t_abnormality_by_wrong as it was before migrat…
osenan Jun 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ BugReports:
Depends:
R (>= 4.4),
teal (>= 1.1.0.9029),
teal.picks (>= 0.1.0.9212),
teal.transform (>= 0.7.0),
tern (>= 0.9.9)
Imports:
Expand Down Expand Up @@ -64,6 +65,7 @@ Imports:
teal.widgets (>= 0.5.0),
tern.gee (>= 0.1.5),
tern.mmrm (>= 0.3.3),
tidyselect (>= 1.2.0),
utils,
vistime (>= 1.2.3)
Suggests:
Expand All @@ -83,8 +85,9 @@ VignetteBuilder:
knitr,
rmarkdown
Remotes:
insightsengineering/teal,
insightsengineering/teal.reporter
insightsengineering/teal@redesign_extraction@main,
insightsengineering/teal.transform,
insightsengineering/teal.picks@279-interactive_variables
Comment thread
averissimo marked this conversation as resolved.
Outdated
Config/Needs/verdepcheck: insightsengineering/teal,
insightsengineering/teal.slice, insightsengineering/teal.transform,
insightsengineering/tern, tidymodels/broom, mllg/checkmate,
Expand All @@ -100,7 +103,8 @@ Config/Needs/verdepcheck: insightsengineering/teal,
shosaco/vistime, tidyverse/forcats, yihui/knitr, tidyverse/lubridate,
insightsengineering/nestcolor, r-lib/pkgload,
insightsengineering/roxy.shinylive, tidyverse/rvest,
rstudio/shinytest2, r-lib/styler, r-lib/testthat, r-lib/withr
rstudio/shinytest2, r-lib/styler, r-lib/testthat, r-lib/tidyselect,
r-lib/withr
Config/Needs/website: insightsengineering/nesttemplate
Config/testthat/edition: 3
Encoding: UTF-8
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ S3method(as_num,default)
S3method(as_num,factor)
S3method(as_num,logical)
S3method(as_num,numeric)
S3method(tm_a_mmrm,choices_selected)
S3method(tm_a_mmrm,default)
export(add_expr)
export(as_num)
export(bracket_expr)
Expand Down Expand Up @@ -67,6 +69,7 @@ export(tm_t_summary_by)
export(tm_t_tte)
import(shiny)
import(teal)
import(teal.picks)
import(teal.transform)
import(tern)
importFrom(dplyr,"%>%")
Expand Down
104 changes: 104 additions & 0 deletions R/arm_ref_comp.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,110 @@ arm_ref_comp_observer <- function(session,
iv
}

#' Observer for Treatment reference variable
#'
#' @description
#' Updates the reference and comparison Treatments when the selected Treatment variable changes
#'
#' @param session (`environment`)\cr shiny session
#' @param input (`character`)\cr shiny input
#' @param output (`character`)\cr shiny input
#' @param id_ref (`character`)\cr id of reference Treatment input UI element
#' @param id_comp (`character`)\cr id of comparison group input UI element
#' @param id_arm_var (`character`)\cr id of Treatment variable input UI element
#' @param data (`reactive` or `data.frame`)\cr dataset used to validate Treatment reference inputs and
#' set `id_ref` input.
#' @param arm_ref_comp (`unknown`)\cr Treatment reference and compare variables provided as a
#' nested list where each Treatment variable corresponds a list specifying the default levels for the
#' reference and comparison treatments.
#' @param module (`character`)\cr name of the module where this is called (this is only used
#' to produce more informative error messages)
#' @param on_off (`logical`)\cr A reactive that can be used to
#' stop the whole observer if `FALSE`.
#' @param input_id (`character`)\cr unique id that the buckets will be referenced with.
#' @param output_id (`character`)\cr name of the UI id that the output will be written to.
#' @param arm_var_r (`reactive`)\cr reactive expression that returns the selected Treatment variable.
#' @return Returns a `shinyvalidate::InputValidator` which checks that there is at least one reference
#' and comparison arm
#' @keywords internal
#'
arm_ref_comp_observer_picks <- function(session, # nolint: object_name.
input,
output,
id_ref = "Ref",
id_comp = "Comp",
id_arm_var,
data,
arm_ref_comp,
module,
on_off = reactive(TRUE),
input_id = "buckets",
output_id = "arms_buckets",
arm_var_r) {
output[[output_id]] <- renderUI({
if (isTRUE(on_off())) {
df <- if (is.reactive(data)) {
data()
} else {
data
}

check_arm_ref_comp(arm_ref_comp, df, module) ## throws an error if there are issues

arm_var <- req(arm_var_r())

arm <- df[[arm_var]]
teal::validate_has_elements(arm, "Treatment variable is empty.")

arm_levels <- if (is.factor(arm)) {
levels(droplevels(arm))
} else {
unique(arm)
}
default_settings <- arm_ref_comp[[arm_var]]

if (is.null(default_settings)) {
ref_arm <- arm_levels[1]
comp_arm <- setdiff(arm_levels, ref_arm)
} else {
ref_arm <- default_settings$ref
comp_arm <- default_settings$comp
}

buckets <- list(ref_arm, comp_arm)
names(buckets) <- c(id_ref, id_comp)

teal.widgets::draggable_buckets(
session$ns(input_id),
label = "Groups",
elements = character(),
buckets = buckets
)
}
})

reactive({
validate_input(
inputId = id_arm_var,
condition = !is.null(arm_var_r()),
message = "Treatment variable must be selected.",
session = session
)
validate_input(
inputId = input_id,
condition = length(input[[input_id]][[id_ref]]) > 0,
message = "A reference arm must be selected.",
session = session
)
validate_input(
inputId = input_id,
condition = length(input[[input_id]][[id_comp]]) > 0,
message = "A comparison arm must be selected.",
session = session
)
})
}

#' Check if the Treatment variable is reference or compare
#'
#' @description Check Treatment variable type.
Expand Down
1 change: 1 addition & 0 deletions R/teal.modules.clinical.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#' @import shiny
#' @import teal
#' @import teal.transform
#' @import teal.picks
#' @import tern
#' @importFrom dplyr %>% .data

Expand Down
Loading
Loading