diff --git a/R/tm_g_association.R b/R/tm_g_association.R index f402e2b58..6b7e35c38 100644 --- a/R/tm_g_association.R +++ b/R/tm_g_association.R @@ -222,6 +222,8 @@ srv_tm_g_association <- function(id, ggplot2_args) { with_reporter <- !missing(reporter) && inherits(reporter, "Reporter") with_filter <- !missing(filter_panel_api) && inherits(filter_panel_api, "FilterPanelAPI") + checkmate::assert_class(data, "reactive") + checkmate::assert_class(isolate(data()), "teal_data") moduleServer(id, function(input, output, session) { selector_list <- teal.transform::data_extract_multiple_srv(