(v1.3.0.9020) fix for uncertainty in as.mo()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-09-14 19:41:48 +02:00
1 parent 354c606d6a
commit ab60f613aa
19 files changed
+100 -84

No files matched your search

+1
View File
@@ -167,6 +167,7 @@ first_isolate <- function(x,
if (is.null(col_mo)) {
col_mo <- search_type_in_df(x = x, type = "mo")
stop_if(is.null(col_mo), "`col_mo` must be set")
stop_ifnot(col_mo %in% colnames(x), "column '", col_mo, "' (`col_mo`) not found")
}
# -- date