Skip to content

Conversation

@pbulsink
Copy link
Contributor

Add support for MASS::polr objects by axe_env(). Mimicks other { MASS } objects butchered in mass.R.

Also adds associated tests. The model fit in tests and examples is based on the documentation in { MASS }.

I'd gladly merge the added polr.R file contents to mass.R if you prefer.

Copy link
Member

@juliasilge juliasilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for this contribution, @pbulsink!

  • The failure on R-devel is not related to this PR and we are tracking the problem in r-lib/lobstr#48
  • I did change the methods so that it could share the same one as the other MASS objects

@juliasilge juliasilge merged commit dc46347 into tidymodels:main Sep 24, 2025
12 of 13 checks passed
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