Skip to content

Commit

Permalink
Rollback as this is breaking some CRAN packages (at least the caret v…
Browse files Browse the repository at this point in the history
…ignette)
  • Loading branch information
xrobin committed Jun 1, 2018
1 parent 89bb447 commit f8bedba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/roc.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ roc.default <- function(response, predictor,
stop("Predictor must be numeric or ordered.")
}
if (is.matrix(predictor)) {
stop("Deprecated use a matrix as predictor. Unexpected results may be produced, please pass a numeric vector.")
warning("Deprecated use a matrix as predictor. Unexpected results may be produced, please pass a numeric vector.")
}
if (is.matrix(response)) {
warning("Deprecated use a matrix as response. Unexpected results may be produced, please pass a vector or factor.")
Expand Down

0 comments on commit f8bedba

Please sign in to comment.