Skip to content

docs: say "an intercept" for step_lencode_mixed() formula - #280

Merged
EmilHvitfeldt merged 3 commits into
tidymodels:mainfrom
SatvikMishra08:fix/277-lencode-mixed-intercept-docs
Sep 28, 2026
Merged

EmilHvitfeldt merged 3 commits into
tidymodels:mainfrom
SatvikMishra08:fix/277-lencode-mixed-intercept-docs

Conversation

@SatvikMishra08

Copy link
Copy Markdown
Contributor

The Details section for step_lencode_mixed() said the hierarchical model is fit with "no intercept via" while showing:

lmer(outcome ~ 1 + (1 | predictor), data = data, ...)

The 1 is an intercept, so the prose now says "an intercept via".

Edit is in R/lencode_mixed.R only (not .Rd), per usual roxygen workflow.

Fixes #277.

SatvikMishra08 and others added 3 commits September 19, 2026 12:49
The documented lmer formula includes an intercept (`~ 1 + ...`), so the
Details text should not say "no intercept".

Fixes tidymodels#277.
@EmilHvitfeldt

Copy link
Copy Markdown
Member

wonderful! Thank you!

@EmilHvitfeldt
EmilHvitfeldt merged commit 86866f6 into tidymodels:main Sep 28, 2026
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.

step_lencode_mixed() Documentation Typo

2 participants