Open mhunter1 opened 6 years ago
Something that didn't have a test associated with it is likely to be vulnerable to breaking. It's not clear how easy it would be to add such an animal to the OpenMx test suite; perhaps put in a test in EasyMx?
Either way, looks like we need a fix...
If you replace emxRegressionModel with a generic mxModel then we can certainly add a test to OpenMx. It would probably be easy to add some missingness to the famous demoOneFactor dataset and then impute it.
test case: perhaps move to amelia :-)
~/bin/OpenMx/inst/models/failing/mice.R
amelia appears to be faster
http://fastml.com/impute-missing-values-with-amelia
Would remove mice (which compete with guinea pigs) and add a famous adventurer to the includes
Amelia might excuse the team for getting legless now and then...
In an email from 2017-09-18, the below code was conjectured to work for multiple imputation.
My recollection is that it did at the time. However, now I get two errors: one about the variable names created by making
age
a factor that has-
in the new dummy variable name, and two (once the former is solved) that there is no methodglance
forMxRAMModel
objects. Theglance
method appears to be in thebroom
package and is associated with varioustibble
functionality.