I'm writing to get some help with an error I'm getting extracting output from Mark.
I'm using RMark to evaluate some multi-pass CMR data from a study of fish marked with PIT tags. The general study design is three passes where unmarked animals are marked with PIT tags and recaptured animals are recorded. We plan to incorporate this into a multi-year Barker Robust Design study. However, being the first year of the study I have been trying to generate a population estimate with a POPAN model. The problem is that frequently when I run different models in RMark, I get the following error:
Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length
Problem extracting output. Look at MARK output file to see what is wrong.
In the the Mark output files, it shows parameter estimates and estimates of real parameter values. The Mark output reads "STOP NORMAL EXIT" so I think the models are running correctly in Mark. I have tried debugging in R, and my best guess is that my machine is having some kind of issue in the "extract mark output" function within the "run mark model" function.
I would be happy to provide more information, code, or output if that would help, and thanks in advance for any suggestions folks may have for how to fix this issue!
Thanks again!
Mike