I'm trying to estimate models with three-way interactions in R lavaan using the syntax terms operator : (which works fine with two-way interactions). It seems that lavaan ignores the three-way interaction.
To reproduce the problem, one can use
library(lavaan)
f1<-"y~x1+x2+x3+x1:x2+x2:x3+x1:x2:x3"
lavParseModelString(f1)
$rhs
[1] "x1" "x2" "x3" "x1:x2" "x2:x3"
Am I missing something?