I use GDINA package and when I Run GDINA(data, q) i have no problem, but when I run modelfit function I encounter this problem. You can see my data in the below link
This seems like a different question to the one above. To echo AlexisW, we don't have enough information to help you more than the info given in the error message.
The Gold-Standard method to present your problem problem in a way others can reproduce and start diagnosing it is with a reproducible example. I'd encourage mocking one up in a reply.
The error message missing value where TRUE/FALSE needed is telling you that a function is expecting a logical vector (ie one that have only TRUE or FALSE values), but the function was supplied with something else, I think an NA or NULL. Again, a reproducible example would be handy to diagnose the issue and as a starting point to start suggesting solutions.