Skip to content

Commit ec461dc

Browse files
committed
remove reporter from tm_missing_data server functions
1 parent 5711739 commit ec461dc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

R/tm_missing_data.R

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,8 @@ ui_page_missing_data <- function(id, pre_output = NULL, post_output = NULL) {
197197
}
198198

199199
# Server function for the missing data module (all datasets)
200-
srv_page_missing_data <- function(id, data, reporter, datanames, parent_dataname,
200+
srv_page_missing_data <- function(id, data, datanames, parent_dataname,
201201
plot_height, plot_width, ggplot2_args, ggtheme, decorators) {
202-
with_reporter <- !missing(reporter) && inherits(reporter, "Reporter")
203202
moduleServer(id, function(input, output, session) {
204203
teal.logger::log_shiny_input_changes(input, namespace = "teal.modules.general")
205204

@@ -268,7 +267,6 @@ srv_page_missing_data <- function(id, data, reporter, datanames, parent_dataname
268267
srv_missing_data(
269268
id = x,
270269
data = data,
271-
reporter = if (with_reporter) reporter,
272270
dataname = x,
273271
parent_dataname = parent_dataname,
274272
plot_height = plot_height,
@@ -452,14 +450,12 @@ encoding_missing_data <- function(id, summary_per_patient = FALSE, ggtheme, data
452450
# Server function for the missing data (single dataset)
453451
srv_missing_data <- function(id,
454452
data,
455-
reporter,
456453
dataname,
457454
parent_dataname,
458455
plot_height,
459456
plot_width,
460457
ggplot2_args,
461458
decorators) {
462-
with_reporter <- !missing(reporter) && inherits(reporter, "Reporter")
463459
checkmate::assert_class(data, "reactive")
464460
checkmate::assert_class(isolate(data()), "teal_data")
465461
moduleServer(id, function(input, output, session) {

0 commit comments

Comments
 (0)