(v1.2.0.9011) mo_domain(), improved error handling

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-06-22 11:18:40 +02:00
1 parent e88d7853f5
commit 93a158aebd
49 files changed
+523 -590

No files matched your search

+1 -1
View File
@@ -175,7 +175,7 @@ joins_check_df <- function(x, by) {
by <- "mo"
x[, "mo"] <- as.mo(x[, "mo"])
} else {
stop("Cannot join - no column found with name or class <mo>.", call. = FALSE)
stop("Cannot join - no column found with name 'mo' or with class <mo>.", call. = FALSE)
}
}
message('Joining, by = "', by, '"') # message same as dplyr::join functions