mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 05:00:50 +01:00
remove warnings from unit tests
This commit is contained in:
1 parent
fed3b6440f
commit
85e2fbe4a3
35 files changed
+115
-110
No files matched your search
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user