79743595

Date: 2025-08-22 15:46:15
Score: 3
Natty:
Report link

I've had the same issue and my takeaway is it is a side effect of using the non-cran version of xgboost.

Parsnip is still setting info using the CRAN methods in xgboost:

https://github.com/tidymodels/parsnip/blob/78116dcc06997248d6b2365bdc78149d7e1c23b9/R/boost_tree.R#L448-L466

I think xgboost (version 3.1.0.0) is still correcting for the old formatting, so for now the only issue is the annoying message:

https://github.com/dmlc/xgboost/blob/35f1e8588ef296d1455dac43c6bb8f938a88e916/R-package/R/utils.R#L714-L731

Downgrading to the CRAN version of xgboost should get rid of the warning. I think parsnip is aware of these issues with the new version, but are holding off updating until xgboost gets to CRAN:

https://github.com/tidymodels/parsnip/issues/1227#issuecomment-2576608316

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31331637