Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: ranef formula detection broken in 1.8+ #89

Merged
merged 4 commits into from
Apr 29, 2023
Merged

fix: ranef formula detection broken in 1.8+ #89

merged 4 commits into from
Apr 29, 2023

Conversation

storopoli
Copy link
Member

Due to changes in the @formula API in StatsModels.jl formula's lhs like (1 + x1 + x2 | group) is no longer a ConstantTerm.

Since TuringGLM.jl doesn't support random-slope terms, I've removed the tests with these kind of formulas.

Additionally, the to access the terms inside a formula, we need to use terms.args instead of terms.args_parsed.

@storopoli storopoli enabled auto-merge (squash) April 29, 2023 10:30
@storopoli storopoli disabled auto-merge April 29, 2023 10:54
@storopoli storopoli merged commit b4f9fd5 into main Apr 29, 2023
@storopoli storopoli deleted the js/fix-ranef branch April 29, 2023 10:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant