Update: I was getting the same error message with 3dLME because a few syntax errors had sneaked in the gltcode. But now that those are corrected, the packages have seemingly loaded correctly, the program is still hung up at the point of:
If the program hangs here for more than, for example, half an hour,
kill the process because the model specification or the GLT coding
is likely inappropriate.
~~~~~~~~~~~~~~~~~~~ Model test failed ~~~~~~~~~~~~~~~~~~~
Possible reasons:
0) Make sure that R packages nlme and phia have been installed. See the 3dLME
help documentation for more details.
1) Inappropriate model specification with options -model, or -qVars.
2) In correct specifications in general linear test coding with -gltCode.
3) Mistakes in data table. Check the data structure shown above, and verify
whether there are any inconsistencies.
4) Inconsistent variable names which are case sensitive. For example, factor
named Group in model specification and then listed as group in the table hader
would cause grief for 3dLME.
** Error:
Quitting due to model test failure...