Skip to content

Commit

Permalink
fix error in example app
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelru committed Feb 2, 2024
1 parent f55810b commit 36c8aad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/tm_g_heat_bygrade.R
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ srv_g_heatmap_bygrade <- function(id,

moduleServer(id, function(input, output, session) {
iv <- reactive({
browser
ADSL <- data()[[sl_dataname]] # nolint
ADEX <- data()[[ex_dataname]] # nolint
ADAE <- data()[[ae_dataname]] # nolint
Expand Down Expand Up @@ -400,6 +401,7 @@ srv_g_heatmap_bygrade <- function(id,
ADSL <- data()[[sl_dataname]] # nolint
ADEX <- data()[[ex_dataname]] # nolint
ADAE <- data()[[ae_dataname]] # nolint
ADCM <- data()[[cm_dataname]] # nolint

teal::validate_has_data(ADSL, min_nrow = 1, msg = sprintf("%s contains no data", sl_dataname))
teal::validate_inputs(iv(), iv_cm())
Expand Down

0 comments on commit 36c8aad

Please sign in to comment.