Skip to content

Conversation

@focardozom
Copy link
Contributor

Add roxygen2 templates to document how models handle missing values #812

This commit create three files under man-roxygen/ that describe
how different model engines handle missing values:

  • na_casewise_delete.R: for models that silently drop rows with NAs
  • na_handled.R: for models that natively support NAs (e.g., rpart)
  • naerrors.R: for models that fail when NAs are present

These templates can be added to individual model documentation.

@topepo topepo merged commit a214056 into tidymodels:main Oct 28, 2025
13 of 15 checks passed
@topepo
Copy link
Member

topepo commented Oct 28, 2025

Thanks! This is great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants