Skip to content

Commit

Permalink
Update R-package/R/xgboost.R
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Mayer <[email protected]>
  • Loading branch information
david-cortes and mayer79 authored Jun 29, 2024
1 parent 04ba741 commit b7be9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/R/xgboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ process.x.and.col.args <- function(
if (NROW(setdiff(names(monotone_constraints), colnames(x)))) {
stop(
"'monotone_constraints' contains column names not present in 'x': ",
paste(head(names(monotone_constraints)), collapse = ", ")
paste(utils::head(names(monotone_constraints)), collapse = ", ")
)
}

Expand Down

0 comments on commit b7be9df

Please sign in to comment.