diff --git a/R/ids.R b/R/ids.R index 89f35d6..c5ae9f9 100644 --- a/R/ids.R +++ b/R/ids.R @@ -275,7 +275,11 @@ expand_ids <- function(ids, dataset) { if(inherits(tf, 'try-error')) { warning("Unable to process query for dataset:", dataset) NULL - } else tf + } else { + if(length(tf)==0) + warning("No matching ids when querying dataset:", dataset) + tf + } }