Closed haozhou1988 closed 1 year ago
I think the reason is that R 4.20 changes the if ( ) rules. see the link: https://stackoverflow.com/a/72848495
@michaelhallquist @JWiley I pushed a fix and did a cursory check for other && / || statements that could become vectorized, but didn't immediately see any. I think we need to be mindful of similar errors in the near future.
Thanks for this patch, @cjvanlissa. I'll keep an eye out for the length warnings that result from assuming one match/scalar when many are returned.
fit <- MplusAutomation::readModels(“mplus1001.out”, recursive = T) It returns warnings.
mplus1001.txt