Closed chainsawriot closed 4 months ago
Yes, there's no effects
argument for the anova-method of model_parameters()
, only effectsize_type
.
Sorry, why is this a bug report?
It can generate a lot of warning messages for some methods (e.g. eta_squared_posterior()
of a brms
model, which is where I found this) when the above options are set. I know it is not default, but some R developers set them to default to prevent partial matching.
I see.
The effect =
argument actually shouldn't be partially matched, it is referring to cases where there are multiple effect types, but we only want the fixed effects (not relevant for aov
or aovList
models, where I thought it was just "absorbed" into ...
).
So although your PR fixes this issue, it causes another issue.
I will try to think of a solution.
Easiest is probably to rename in parameters.
I have a solution - will post tomorrow.
Fixed in #641
@chainsawriot if you come across any more of these, let us know.
Describe the bug
Partial matching is used in
.anova_es.anova()
(and probably many other places).To Reproduce
Created on 2024-05-24 with reprex v2.1.0
And exactly this line:
https://github.com/easystats/effectsize/blob/43c6d0c163a56e35bbe32ed00b18491f6b864260/R/eta_squared-main.R#L836