small change needed in tests/tests.blavaanobject-methods.R
yrosseel opened this issue · 1 comments
yrosseel commented
In lavaan dev 0.6-7, I changed the order of the arguments of lavPredict(). The second argument is now newdata= (to be consistent with predict()), instead of type=. Therefore, line 90 in tests.blavaanobject-methods.R:
lavPredict(fitlav, 'lv')[,1]) > .95)
should be replaced by
lavPredict(fitlav, type='lv')[,1]) > .95)
Maybe there are more places in blavaan where this is needed (but they did not show up in my tests).
Yves.
ecmerkle commented
Thanks, should now be fixed (and I am pretty sure this was the only place).