From 36c8aad4a199681a31bf16354197ad09dbf673cf Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Fri, 2 Feb 2024 13:21:42 +0100 Subject: [PATCH] fix error in example app --- R/tm_g_heat_bygrade.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/tm_g_heat_bygrade.R b/R/tm_g_heat_bygrade.R index 7f5a2094..2b9fccd0 100644 --- a/R/tm_g_heat_bygrade.R +++ b/R/tm_g_heat_bygrade.R @@ -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 @@ -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())