Skip to content

Commit

Permalink
add assert
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Nov 22, 2023
1 parent 1e27413 commit ec6b3bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/tm_g_association.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ec6b3bb

Please sign in to comment.