Skip to content

Commit

Permalink
revert: move reserved datanames back to function
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Nov 15, 2024
1 parent d31641c commit a50feea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
1 change: 0 additions & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit a50feea

Please sign in to comment.