We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe4b1c commit f03de74Copy full SHA for f03de74
R/utilities.r
@@ -633,7 +633,8 @@ with_ordered_restart <- function(expr, .call) {
633
restart <- TRUE
634
if (is.ordered(x)) {
635
x <- factor(as.character(x), levels = levels(x))
636
- } else {
+ }
637
+ if (is.ordered(y)) {
638
y <- factor(as.character(y), levels = levels(y))
639
}
640
} else if (is.character(x) || is.character(y)) {
0 commit comments