rbchan / unmarked

R package for hierarchical models in ecological research
https://rbchan.github.io/unmarked/
36 stars 25 forks source link

Problem with `[` methods #255

Closed kenkellner closed 1 year ago

kenkellner commented 1 year ago

CRAN error on R-devel:

Error : in method for ‘[’ with signature ‘x="unmarkedPostSamples"’: arguments (‘drop’) after ‘...’ in the generic must appear in the method, in the same place at the end of the argument list

I'm guessing we need to add a drop argument to all our [ methods.

kenkellner commented 1 year ago

Fixed in 658696333513e66c2cee101c5ec54b4879fff88e. For some reason only the unmarkedPostSamples method for [ had this issue, once I fixed that the check ran.

kenkellner commented 1 year ago

The R-devel check is still failing because terra has the same new issue with a method.