From a50feea1e7e30cff802f47a11c3e44be79b72537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ver=C3=ADssimo?= <211358+averissimo@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:40:17 +0100 Subject: [PATCH] revert: move reserved datanames back to function --- R/utils.R | 2 +- R/zzz.R | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/R/utils.R b/R/utils.R index b2890c262c..7a6d85b3aa 100644 --- a/R/utils.R +++ b/R/utils.R @@ -135,7 +135,7 @@ check_modules_datanames <- function(modules, datanames) { #' @rdname check_modules_datanames check_reserved_datanames <- function(datanames) { - reserved_datanames <- datanames[datanames %in% getOption("teal.reserved_datanames")] + reserved_datanames <- datanames[datanames %in% c("all", ".raw_data")] if (length(reserved_datanames) == 0L) { return(NULL) } diff --git a/R/zzz.R b/R/zzz.R index a2cba1b4d2..62c8029561 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -4,7 +4,6 @@ teal_default_options <- list( teal.show_js_log = FALSE, teal.lockfile.mode = "auto", - teal.reserved_datanames = c("all", ".raw_data"), shiny.sanitize.errors = FALSE )