-
-
Notifications
You must be signed in to change notification settings - Fork 19
🗃️ Decorators feature branch #1252
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
Merged
Merged
Changes from 54 commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
7c29d47
feat: add decorator wrapper
averissimo 45da7ca
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 537b2c1
Merge branch 'main' into 1187_decorate_output@main
m7pr 84a00fd
add decorators @param to standard template arguments
m7pr 58e65bf
move decorators parameter to module templeate parameters
m7pr b684fa5
bring check_decorators from tmg
m7pr 0805fa4
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 29f22c7
rename decorators to transformators in ui_decorate_teal_data
m7pr 3df00dc
Merge branch '1187_decorate_output@main' of https://github.com/insigh…
m7pr dc682cd
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 93c6af5
introduce decorators for `tm_g_pp_vitals`
m7pr 1899063
revert changes for vitals
m7pr 64b9d1d
fix: update wrapper to use 'inner' in srv_decorate_teal_data
averissimo af2a623
Merge branch 'main' into 1187_decorate_output@main
m7pr b033451
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 064bcb2
add normalize_decorators
m7pr a677777
fix normalize_decorators
m7pr 1e9a78c
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 55cd3d3
update utils from tmg
m7pr b565310
introduce decorators for `tm_g_ci` (#1265)
llrs-roche 2276fca
Introduce decorators to `tm_g_forest_rsp` (#1266)
llrs-roche fd17aed
introduce decorators for `tm_g_forest_tte` (#1264)
m7pr 4e747f9
introduce decorators for `tm_a_gee` (#1262)
m7pr fcc3682
introduce decorators for `tm_g_ipp` (#1263)
m7pr 31fdab6
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 98520eb
introduce decorators to `tm_g_pp_patient_timeline` (#1270)
llrs-roche 5cf2166
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] f462d60
introduce decorators for `tm_g_pp_therapy` (#1268)
m7pr d6416e1
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 25d9220
chore: necessary for pre-commit
averissimo 956bc9e
chore: remove print plot expression
averissimo e7132b5
Revert "chore: remove print plot expression"
averissimo 444cd0b
feat: add template for decorators parameter
averissimo bb3ae23
chore: use decorators template instead of shared parameter
averissimo e1976b6
chore: change order of null.ok
averissimo 3ae43d2
introduce decorators for `tm_g_pp_vitals` (#1261)
m7pr d7b036e
introduce decorators for `tm_t_abnormality` (#1257)
m7pr af7ecff
Introduce decorators for `tm_g_km` (#1254)
m7pr 078fc51
Introduce decorators for `tm_g_lineplot` (#1255)
m7pr dab7f4e
introduce decorators for `tm_t_ancova` (#1256)
m7pr e3bc080
introduce decorators for `tm_t_abnormality_by_worst_grade` (#1260)
m7pr 69659e7
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 1572839
Merged origin/main into 1187_decorate_output@main
llrs-roche 132c4e6
fix: remove teal-only function
averissimo 070e129
Include decorators for `tm_t_events_summary` (#1278)
llrs-roche 6ddb425
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 37e42a2
Introduce decorators for `tm_t_coxreg` (#1274)
llrs-roche 28ba4c4
Introduce decorator for `tm_t_events_patyear` (#1277)
llrs-roche 5b87fdc
Introduce decorator for `tm_t_events` (#1275)
llrs-roche 78c451d
Introduce decorators for `tm_t_binary_outcome` (#1273)
llrs-roche 5fdc43e
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 1ac634c
introduce decorators for `tm_g_barchart_simple` (#1267)
m7pr a9eb913
chore: fix R CMD check with missing arguments and using rlang that is…
averissimo a78c0ba
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 06ab990
Add decorators to `tm t mult events` (#1281)
averissimo b8c3c71
Introduce decorators for `tm_t_tte` (#1280)
averissimo cbb58b7
docs: documentation simplification
averissimo e3be031
Merge branch 'main' into 1187_decorate_output@main
averissimo 5822470
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 2a447e4
docs: minor typo gg -> ggplot2
averissimo 4829c00
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] a6e730c
introduce decorators for `tm_g_pp_adverse_events` (#1269)
m7pr a55de1f
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] bd975e5
Adds decorators to `tm_t_pp_medical_history` (#1289)
averissimo 4d6de2d
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 59960ba
Adds decorators to `tm_t_logistic` (#1290)
averissimo 3e98e81
Adds decorators to `tm_t_summary` (#1293)
averissimo 015a964
Adds decorators to `tm_t_smq` (#1292)
averissimo d29d166
Adds decorators to `tm_t_shift_by_grade` (#1285)
averissimo ab0c15c
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 8986e27
Adds decorators to `tm_t_summary_by` (#1294)
averissimo 772c14b
Adds decorators to `tm_t_shift_by_arm` (#1287)
averissimo 582ceb3
Adds decorators to `tm_t_shift_by_arm_by_worst` (#1286)
averissimo 66e7b36
feat: pass qenv.error to module when template code fails
averissimo d403e95
Merge branch 'main' into 1187_decorate_output@main
averissimo d1d8df8
Introduce decorators for `tm_t_exposure` (#1279)
llrs-roche c146b11
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] 83d9fb0
Adds decorators to `tm_t_pp_laboratory` (#1291)
averissimo 95f11f3
Adds decorators to `tm_t_pp_basic_info` (#1282)
averissimo b85523c
Adds decorators to `tm_t_pp_prior_medication` (#1288)
averissimo eb42bae
Introduce decorators for `tm_t events by grade` (#1276)
llrs-roche b2919f6
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 5c90ece
docs: remove roxygen inline call
averissimo 274d2b6
Merge branch 'main' into 1187_decorate_output@main
averissimo f439cd4
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] 00c8c0b
fix: linter error
averissimo a855989
Adds decorators to `tm_a_mmrm` (#1300)
averissimo 0a06fbb
fix: tm_t_coxreg bug
averissimo 6d4ce5b
fix: adverse events error
averissimo 8a9edd2
Uses same code for source code generation in modules (#1301)
averissimo 1db24ad
fix: remove rlang usage
averissimo 19e8752
Decorators: Accepts new snapshot from `testthat::test()` (#1304)
averissimo 9c4612c
fix: adds stats prefix
averissimo fad76cd
Merge branch 'main' into 1187_decorate_output@main
averissimo 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # nocov start | ||
| roxygen_decorators_param <- function(module_name) { | ||
| paste( | ||
| sep = " ", | ||
| lifecycle::badge("experimental"), | ||
| " (`list` of `teal_transform_module`, named `list` of `teal_transform_module` or", | ||
| "`NULL`) optional, if not `NULL`, decorator for tables or plots included in the module.", | ||
| "When a named list of `teal_transform_module`, the decorators are applied to the", | ||
| "respective output objects.\n\n", | ||
| "Otherwise, the decorators are applied to all objects, which is equivalent as using the name `default`.\n\n", | ||
| sprintf("See section \"Decorating `%s`\"", module_name), | ||
| "below for more details." | ||
| ) | ||
| } | ||
| # nocov start |
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
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.