Hi all,
The occu() function in the released version of unmarked on CRAN can give incorrect answers under specific circumstances. If *all* of the following apply to your analysis:
1. Used occu()
2. Fit a random effect (or used engine = "TMB")
3. Had detection covariate(s)
4. Had a large number of missing values in the encounter history
5. The missing values were interspersed among non-missing observations (rather than just used to pad out the end of each encounter history to handle unbalanced designs)
then the resulting estimates of the slopes in the detection model may be incorrect. I've pushed a fix to the dev version which you can install with the following code:
remotes::install_github("rbchan/unmarked")
I'll submit a new version to CRAN on January 8 when they open back up after the holiday. Thanks to Marc Kery for identifying this problem, and sorry for any problems it has caused.
Ken