From 4b7b1be6b75f2434632676a909499d825acf4e39 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Mon, 23 Feb 2026 16:34:26 +0100 Subject: [PATCH] fix: fixed wrong headers --- NEWS.md | 4 +++- R/missings-module.R | 8 +++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NEWS.md b/NEWS.md index a4ae118e..7dc9856c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,8 @@ # FreesearchR 26.2.2 -Minor addition to the previous update with correct activation of the missingness evaluation button. +*FIX* Minor addition to the previous update with correct activation of the missingness evaluation button. + +*FIX* Correct table headers for evaluating missings across groups. # FreesearchR 26.2.1 diff --git a/R/missings-module.R b/R/missings-module.R index 167c725f..25d250ee 100644 --- a/R/missings-module.R +++ b/R/missings-module.R @@ -192,18 +192,16 @@ data_missings_server <- function(id, data, max_level = 20, ...) { } } else { ## Due to reactivity, the table updates too quickly. this mitigates that issue.. - - - if (input$missings_var == "predictors") { + if (input$missings_method == "predictors") { title <- glue::glue( i18n$t( - "Missings across variables by the variable **'{input$missings_var}'**" + "Missing observations across variables grouped by **'{input$missings_var}'**" ) ) } else { title <- glue::glue( i18n$t( - "Missing vs non-missing observations in the variable **'{input$missings_var}'**" + "Differences by missing vs non-missing observations in **'{input$missings_var}'**" ) ) }