Skip to content

Commit c074f3a

Browse files
authored
trim redundant whitespace before error message (#818)
1 parent e0a238d commit c074f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/boost_tree.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ process_others <- function(others, arg_list) {
331331
if (length(guarded_supplied) > 0) {
332332
cli::cli_warn(
333333
c(
334-
"!" = "{cli::qty(guarded_supplied)} The argument{?s} {.arg {guarded_supplied}} \
334+
"!" = "{cli::qty(guarded_supplied)}The argument{?s} {.arg {guarded_supplied}} \
335335
{?is/are} guarded by parsnip and will not be passed to {.fun xgb.train}."
336336
),
337337
class = "xgboost_guarded_warning"

0 commit comments

Comments
 (0)