From 7d1d1e95f8862ee4aeb66b43df62ae6d8b34920a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Revilla?= Date: Wed, 8 Jan 2025 14:30:40 +0100 Subject: [PATCH] Improve checks on datasets_selected --- R/tm_missing_data.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/tm_missing_data.R b/R/tm_missing_data.R index 680d7fb44..677b1610a 100644 --- a/R/tm_missing_data.R +++ b/R/tm_missing_data.R @@ -145,7 +145,7 @@ tm_missing_data <- function(label = "Missing data", lower = plot_width[2], upper = plot_width[3], null.ok = TRUE, .var.name = "plot_width" ) - checkmate::assert_character(datasets_selected) + checkmate::assert_character(datasets_selected, min.len = 0, min.chars = 1) checkmate::assert_character(parent_dataname, min.len = 0, max.len = 1) ggtheme <- match.arg(ggtheme)