I'm testing out the output="text" introduced with 0.6.5. I really like the "pretty printing". I'm using the output to create an object ( model.test<-fitMeasures(test.1,output="text") ), and exporting that object using the "rio" package ( rio::export(model.test), "name.xlsx" )
This is working great for paramaterEstimates and standardizedSolution, but not with fitMeasures. For fit measures, I only get the second column (i.e. the values) but not the first column (i.e. the labels). The "pretty printing" version shows up when I run the object in R, but the exported object in excel is lacking the first column. Since the output shows up prettily in R, it may be a problem between lavaan and rio, but it's weird that the problem doesn't exist for paramaterEstimates or standardizedSolution, which both look "pretty".
As a workaround, I'm using tidy(fitMeasures(model.name
)), but this uses the shortened and hard to read labels (i.e. it's not "pretty").