diff --git a/R/Start.R b/R/Start.R index 75e352cbcf78bbea193fe832cce68c7c869e7a43..c7cc0ff28a4163270f3158bda5ad822bdf7b4c40 100644 --- a/R/Start.R +++ b/R/Start.R @@ -2039,7 +2039,8 @@ Start <- function(..., # dim = indices/selectors, # Some dimension is defined in Start() call but doesn't exist in data if (!all(expected_inner_dims[[i]] %in% names(data_dims))) { tmp <- expected_inner_dims[[i]][which(!expected_inner_dims[[i]] %in% names(data_dims))] - stop("Could not find the dimension '", tmp, "' in the file. Either ", + stop("Could not find the dimension(s) '", + paste0(tmp, collapse = "', '"), "' in the file. Either ", "change the dimension name in your request, adjust the ", "parameter 'dim_names_in_files' or fix the dimension name in ", "the file.\n", file_path)