Skip to content

Feature Request: Add support for lavaan objects in equivalence_test()#1232

Merged
strengejacke merged 5 commits into
mainfrom
strengejacke/issue1176
Jun 1, 2026
Merged

Feature Request: Add support for lavaan objects in equivalence_test()#1232
strengejacke merged 5 commits into
mainfrom
strengejacke/issue1176

Conversation

@strengejacke

Copy link
Copy Markdown
Member

Fixes #1176

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

Copy link
Copy Markdown
Contributor

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 adds support for lavaan objects in simulate_model(), simulate_parameters(), and equivalence_test(), alongside namespace updates and code reformatting. The review feedback identifies a critical bug in equivalence_test.lavaan where the default ROPE range calculation fails due to incorrect object name evaluation and missing iterations propagation. Additionally, the reviewer recommends calling stats::coef() instead of lavaan::coef() to respect S3 dispatch and style guide rules, and suggests adding unit tests for the new methods.

Comment thread R/equivalence_test.R
Comment thread R/5_simulate_model.R
Comment thread R/5_simulate_model.R
@strengejacke strengejacke merged commit 544a6da into main Jun 1, 2026
10 of 21 checks passed
@strengejacke strengejacke deleted the strengejacke/issue1176 branch June 1, 2026 09:24
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.

Feature Request: Add support for lavaan objects in equivalence_test()

1 participant