Error in goodness of fit test using unmarked

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue?

You provided code, but not the data that would be required to reproduce your issue.

Please have a look at this guide, to see how to create a reprex: