I am running RMark to estimate abundance using a closed model with the formulas "models" listed below. I have three other datasets that seem to work fine (without error messages). This dataset runs in RMark but after a few seconds an run-time error message pops up ("Image-mark.exe, PC-006B77C9, Routine-unknown, Line-unknown, Source-unknown"). I click okay and it creates the file to upload into Mark, however a model is missing (i.e., p.time.c). I am not sure how to correct this as the dataset is sound and the script works with the other datasets. Any assistance would be great. I would be happen up upload all my script and data file if necessary. Thank you.
Error in if (x4 > x2) { : argument is of length zero #error message that appears in the R console.
p.dot=list(formula=~1+c,share=TRUE)
p.time=list(formula=~time,share=TRUE)
p.dot.c=list(formula=~1,share=TRUE)
p.time.c=list(formula=~time+c,share=TRUE)
N.dot=list(formula=~1)