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 committed Jun 29, 2024
1 parent a4df40f commit 7628e3a
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 @@ -611,7 +611,7 @@ process.x.and.col.args <- function(
stop(
"'monotone_constraints' contains duplicated names: ",
paste(
names(monotone_constraints)[duplicated(names(monotone_constraints))] |> head(),
names(monotone_constraints)[duplicated(names(monotone_constraints))] |> utils::head(),
collapse = ", "
)
)
Expand Down

0 comments on commit 7628e3a

Please sign in to comment.