-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs for get datagrid #979
Conversation
Errors don't seem to be related to this change. |
@vincentarelbundock this seems to be related to easystats/parameters#1048, right? Failing test is:
So we make this conditional on marginaleffects 1.0.0? |
@mattansb The check-hard error is related to this PR:
|
Yes, I think that's right. The current |
hm, strange, we're importing the current main via the |
We don't expect the packageVersion("marginaleffects")
#> [1] '0.24.0.6'
m <- lm(Sepal.Width ~ Species * Petal.Length, data = iris)
x <- marginaleffects::slopes(m,
variables = "Petal.Length",
newdata = insight::get_datagrid(m, by = "Species")
)
setdiff(
colnames(parameters::model_parameters(x)),
c(
"rowid", "Parameter", "Coefficient", "SE", "Statistic", "p",
"S", "CI", "CI_low", "CI_high", "Predicted", "Species",
"Petal.Length", "Sepal.Width"
)
)
#> [1] "Comparison" Created on 2024-12-13 with reprex v2.1.1 |
Or is the |
Hmm, I don't know what is going on. Maybe these kinds of tests are too strict? We don't want a break whenever a package moves columns around, unless it is a "material" change. |
Agree, I think its purpose is to check whether the s-value column was renamed into "S". will fix test. |
Ah, no, that was the test in parameters :-D But, most important: the column |
In the current CRAN, it is not include. In the future CRAN versions and on Github, it will be included. |
ok, I fixed the text. Shouldn't be crucial, as it's not tested on CRAN anyway. |
Thanks for taking care of this @strengejacke 🙏 |
Closes #978