Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions R/accessory.R
Original file line number Diff line number Diff line change
Expand Up @@ -869,17 +869,16 @@ checkListIsSubset <- function(test_list,
test_list_name,
reference_list_name) {
if (!all(test_list %in% reference_list)) {
missing_vars <- test_list[!test_list %in% reference_list]
stop(
paste0(
"Not all ",
test_list_name,
" (",
paste(test_list, collapse = ","),
") are available in the ",
" are available in the ",
reference_list_name,
" (",
paste(reference_list, collapse = ","),
")"
".\n",
"Missing ", test_list_name, ": ", paste(missing_vars, collapse = ", "), "\n",
"Available ", reference_list_name, ": ", paste(unique(reference_list), collapse = ", ")
)
)
}
Expand Down
2 changes: 1 addition & 1 deletion exec/validate_fom_components.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if (length(missing_args) > 0) {
stop(paste("Missing mandatory arguments:", paste(missing_args, collapse = ", ")))
}

library(shinyngs)
suppressPackageStartupMessages(library(shinyngs, quietly = TRUE, warn.conflicts = FALSE))

# validate_inputs() just wraps the parsing functions of shinyng, used by e.g.
# eselistfromConfig(). These functions are good for ensuring the consistency of
Expand Down
Loading