Skip to content

Commit 959dd68

Browse files
authored
Merge branch 'main' into 99-format-code-chunks@main
2 parents 0ed773d + d544c3b commit 959dd68

9 files changed

+32
-14
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: teal.modules.general
33
Title: General Modules for 'teal' Applications
4-
Version: 0.3.0.9075
5-
Date: 2025-01-30
4+
Version: 0.3.0.9076
5+
Date: 2025-02-03
66
Authors@R: c(
77
person("Dawid", "Kaledkowski", , "dawid.kaledkowski@roche.com", role = c("aut", "cre")),
88
person("Pawel", "Rucki", , "pawel.rucki@roche.com", role = "aut"),

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# teal.modules.general 0.3.0.9075
1+
# teal.modules.general 0.3.0.9076
22

33
* Removed `Show Warnings` modals from modules.
44
* Soft deprecated `datasets_selected` argument of modules in favor of `datanames`.

R/tm_data_table.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ tm_data_table <- function(label = "Data Table",
9595
),
9696
server_rendering = FALSE,
9797
pre_output = NULL,
98-
post_output = NULL) {
98+
post_output = NULL,
99+
transformators = list()) {
99100
message("Initializing tm_data_table")
100101

101102
# Start of assertions
@@ -145,7 +146,8 @@ tm_data_table <- function(label = "Data Table",
145146
ui_args = list(
146147
pre_output = pre_output,
147148
post_output = post_output
148-
)
149+
),
150+
transformators = transformators
149151
)
150152
attr(ans, "teal_bookmarkable") <- TRUE
151153
ans

R/tm_front_page.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ tm_front_page <- function(label = "Front page",
7272
additional_tags = tagList(),
7373
footnotes = character(0),
7474
show_metadata = deprecated(),
75-
datanames = if (missing(show_metadata)) NULL else "all") {
75+
datanames = if (missing(show_metadata)) NULL else "all",
76+
transformators = list()) {
7677
message("Initializing tm_front_page")
7778

7879
# Start of assertions
@@ -105,7 +106,8 @@ tm_front_page <- function(label = "Front page",
105106
ui = ui_front_page,
106107
ui_args = args,
107108
server_args = list(tables = tables),
108-
datanames = datanames
109+
datanames = datanames, ,
110+
transformators = transformators
109111
)
110112
attr(ans, "teal_bookmarkable") <- TRUE
111113
ans

R/tm_variable_browser.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ tm_variable_browser <- function(label = "Variable Browser",
8484
parent_dataname = "ADSL",
8585
pre_output = NULL,
8686
post_output = NULL,
87-
ggplot2_args = teal.widgets::ggplot2_args()) {
87+
ggplot2_args = teal.widgets::ggplot2_args(),
88+
transformators = list()) {
8889
message("Initializing tm_variable_browser")
8990

9091
# Start of assertions
@@ -126,7 +127,8 @@ tm_variable_browser <- function(label = "Variable Browser",
126127
ui_args = list(
127128
pre_output = pre_output,
128129
post_output = post_output
129-
)
130+
),
131+
transformators = transformators
130132
)
131133
# `shiny` inputs are stored properly but the majority of the module is state of `datatable` which is not stored.
132134
attr(ans, "teal_bookmarkable") <- NULL

man/tm_data_table.Rd

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_front_page.Rd

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_g_distribution.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_variable_browser.Rd

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)