Skip to content

Error in estimte_slopes() for emmeans-backend when trend is a factor#619

Merged
strengejacke merged 7 commits into
mainfrom
strengejacke/issue305
May 16, 2026
Merged

Error in estimte_slopes() for emmeans-backend when trend is a factor#619
strengejacke merged 7 commits into
mainfrom
strengejacke/issue305

Conversation

@strengejacke
Copy link
Copy Markdown
Member

Fixes #305

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the package to version 0.15.0.1 and introduces a sanity check in get_emtrends() to ensure the trend variable is numeric when using the emmeans backend, accompanied by a new test case. The reviewer identified a redundant call to insight::get_data() that could be refactored for better performance and noted a missing backtick in the new error message string.

Comment thread R/get_emtrends.R Outdated
Comment thread R/get_emtrends.R Outdated
@strengejacke strengejacke merged commit 099bc35 into main May 16, 2026
13 of 19 checks passed
@strengejacke strengejacke deleted the strengejacke/issue305 branch May 16, 2026 11:13
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.

Error in estimte_slopes() for emmeans-backend when trend is a factor

1 participant