From 007c0e158904d589171da721845c958c60dcb8b3 Mon Sep 17 00:00:00 2001 From: m7pr Date: Wed, 25 Oct 2023 12:26:38 +0200 Subject: [PATCH] remove unnecessary error message --- R/init.R | 3 --- 1 file changed, 3 deletions(-) diff --git a/R/init.R b/R/init.R index 2cb01ed2d9..56b6812083 100644 --- a/R/init.R +++ b/R/init.R @@ -139,9 +139,6 @@ init <- function(data, landing <- extract_module(modules, "teal_module_landing") if (length(landing) > 1L) stop("Only one `landing_popup_module` can be used.") modules <- drop_module(modules, "teal_module_landing") - if (length(landing) == 1L && length(modules) == 0L) { - stop("The app must have at least one module besides `landing_popup_module`.") - } # resolve modules datanames datanames <- teal.data::get_dataname(data)