easystats / easystats/performance
supporting `lavaan` models in `check_model`
Open
Nobody has claimed this yet.
Enhancement :boom:
Feature idea :fire:
- Dominant language
- R
- Stars
- 1.2k
- Forks
- 109
- Avg merge
- 6h 34m
- Merged PRs (30d)
- 8
Description
Hi, I got an error when using check_model on a lavaan::sem model object. Could be simply because I'm using it wrong. If not, please let me know. Thank you!
Error in if (minfo$is_bayesian) { : argument is of length zero
In addition: Warning message:
Could not access model information.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported error with a lavaan::sem model and check_model. Read the check_model entry point and trace how model information is accessed; done means lavaan models no longer produce the reported error and their checking behavior is covered by an appropriate regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100