(v1.5.0.9003) verbose output of mdro()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-01-15 22:44:52 +01:00
1 parent 6745f3fb17
commit 7ebc534ccd
35 files changed
+112 -95

No files matched your search

+3 -1
View File
@@ -205,8 +205,10 @@ eucast_rules <- function(x,
# -- mo
if (is.null(col_mo)) {
col_mo <- search_type_in_df(x = x, type = "mo", info = info)
stop_if(is.null(col_mo), "`col_mo` must be set")
} else {
stop_ifnot(col_mo %in% colnames(x), "column '", col_mo, "' (`col_mo`) not found")
}
stop_if(is.null(col_mo), "`col_mo` must be set")
decimal.mark <- getOption("OutDec")
big.mark <- ifelse(decimal.mark != ",", ",", ".")