remove warnings from unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-10-19 11:47:57 +02:00
1 parent fed3b6440f
commit 85e2fbe4a3
35 files changed
+115 -110

No files matched your search

+2 -2
View File
@@ -1941,9 +1941,9 @@ print.custom_mdro_guideline <- function(x, ...) {
cat(" ", i + 1, ". ", font_bold("Otherwise: "), font_red(paste0("Negative")), "\n", sep = "")
cat("\nUnmatched rows will return ", font_red("NA"), ".\n", sep = "")
if (isTRUE(attributes(x)$as_factor)) {
cat("Results will be of class <factor>, with ordered levels: ", paste0(attributes(x)$values, collapse = " < "), "\n", sep = "")
cat("Results will be of class 'factor', with ordered levels: ", paste0(attributes(x)$values, collapse = " < "), "\n", sep = "")
} else {
cat("Results will be of class <character>.\n")
cat("Results will be of class 'character'.\n")
}
}