Skip to content

Commit 0ea34e5

Browse files
authored
propagate argument name change in teal::module (#541)
Part of [this](insightsengineering/teal#769)
1 parent 9ad94c3 commit 0ea34e5

15 files changed

+15
-15
lines changed

R/tm_a_pca.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ tm_a_pca <- function(label = "Principal Component Analysis",
128128
ggplot2_args = ggplot2_args
129129
)
130130
),
131-
filters = teal.transform::get_extract_datanames(data_extract_list)
131+
datanames = teal.transform::get_extract_datanames(data_extract_list)
132132
)
133133
}
134134

R/tm_a_regression.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ tm_a_regression <- function(label = "Regression Analysis",
138138
ggplot2_args = ggplot2_args
139139
)
140140
),
141-
filters = teal.transform::get_extract_datanames(data_extract_list)
141+
datanames = teal.transform::get_extract_datanames(data_extract_list)
142142
)
143143
}
144144

R/tm_data_table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ tm_data_table <- function(label = "Data Table",
7979
label,
8080
server = srv_page_data_table,
8181
ui = ui_page_data_table,
82-
filters = if (length(datasets_selected) == 0) "all" else datasets_selected,
82+
datanames = if (length(datasets_selected) == 0) "all" else datasets_selected,
8383
server_args = list(
8484
datasets_selected = datasets_selected,
8585
dt_args = dt_args,

R/tm_file_viewer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ tm_file_viewer <- function(label = "File Viewer Module",
8383
server_args = list(input_path = input_path),
8484
ui = ui_viewer,
8585
ui_args = args,
86-
filters = NULL
86+
datanames = NULL
8787
)
8888
}
8989

R/tm_front_page.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ tm_front_page <- function(label = "Front page",
7676
ui = ui_front_page,
7777
ui_args = args,
7878
server_args = list(tables = tables, show_metadata = show_metadata),
79-
filters = if (show_metadata) "all" else NULL
79+
datanames = if (show_metadata) "all" else NULL
8080
)
8181
}
8282

R/tm_g_association.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ tm_g_association <- function(label = "Association",
127127
data_extract_list,
128128
list(plot_height = plot_height, plot_width = plot_width, ggplot2_args = ggplot2_args)
129129
),
130-
filters = teal.transform::get_extract_datanames(data_extract_list)
130+
datanames = teal.transform::get_extract_datanames(data_extract_list)
131131
)
132132
}
133133

R/tm_g_bivariate.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ tm_g_bivariate <- function(label = "Bivariate Plots",
217217
data_extract_list,
218218
list(plot_height = plot_height, plot_width = plot_width, ggplot2_args = ggplot2_args)
219219
),
220-
filters = teal.transform::get_extract_datanames(data_extract_list)
220+
datanames = teal.transform::get_extract_datanames(data_extract_list)
221221
)
222222
}
223223

R/tm_g_distribution.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ tm_g_distribution <- function(label = "Distribution Module",
157157
),
158158
ui = ui_distribution,
159159
ui_args = args,
160-
filters = teal.transform::get_extract_datanames(data_extract_list)
160+
datanames = teal.transform::get_extract_datanames(data_extract_list)
161161
)
162162
}
163163

R/tm_g_response.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ tm_g_response <- function(label = "Response Plot",
137137
data_extract_list,
138138
list(plot_height = plot_height, plot_width = plot_width, ggplot2_args = ggplot2_args)
139139
),
140-
filters = teal.transform::get_extract_datanames(data_extract_list)
140+
datanames = teal.transform::get_extract_datanames(data_extract_list)
141141
)
142142
}
143143

R/tm_g_scatterplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ tm_g_scatterplot <- function(label = "Scatterplot",
240240
data_extract_list,
241241
list(plot_height = plot_height, plot_width = plot_width, table_dec = table_dec, ggplot2_args = ggplot2_args)
242242
),
243-
filters = teal.transform::get_extract_datanames(data_extract_list)
243+
datanames = teal.transform::get_extract_datanames(data_extract_list)
244244
)
245245
}
246246

0 commit comments

Comments
 (0)