You are here

mxConstraint: Reporting typeof() errors

Because it's inconsistent with expectations from mxAlgebra and elsewhere, it would be helpful when the typeCheck() hits a non-string argument for the error to say:

"Error in mxConstraint(): All three parameters need to be in quotes - parameter 1 (VP1) was not"

Reporter: 
Created: 
Mon, 09/21/2009 - 15:54
Updated: 
Sun, 09/27/2009 - 13:40

Comments

Please see the forum post as to why this is an R issue, not an OpenMx issue. The same problem occurs in the following example that is not OpenMx related.

> c(sum(mean(colSums(Vp1))))
Error in inherits(x, "data.frame") : object 'Vp1' not found