Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Oct 29, 2024
1 parent a0d2e59 commit 62bde91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ check_modules_datanames <- function(modules, datanames) {
out <- check_modules_datanames_html(modules, datanames)
if (inherits(out, "shiny.tag.list")) {
out_with_ticks <- gsub("<code>|</code>", "`", toString(out))
out_text <- trimws(gsub("<[^<>]+>", "", toString(out_with_ticks)))
gsub("[[:space:]]+", " ", out_text)
out_text <- gsub("<[^<>]+>", "", toString(out_with_ticks))
trimws(gsub("[[:space:]]+", " ", out_text))
} else {
out
}
Expand All @@ -148,7 +148,7 @@ check_modules_datanames <- function(modules, datanames) {
check_modules_datanames_html <- function(modules,
datanames) {
check_datanames <- check_modules_datanames_recursive(modules, datanames)
show_module_info <- inherits(modules, "teal_modules")
show_module_info <- inherits(modules, "teal_modules") # used in two contexts - module and app
if (!length(check_datanames)) {
return(TRUE)
}
Expand Down

0 comments on commit 62bde91

Please sign in to comment.