rbchan / unmarked

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

Fix broken example and some other `class(.) == *` situations #152

Closed kenkellner closed 4 years ago

kenkellner commented 4 years ago

Fixes #151 and removes a bunch of other instances of class(.) == * structure that CRAN discourages. Many still remain especially in unmarkedFit.R but are not as urgent. With this patch, the package gets a clean check against R-devel (as long as other patch related to parboot #153 is also applied).

kenkellner commented 4 years ago

@jaroyle I can bump the version and build/test a package for CRAN based on these updates in the next couple days if that would be helpful.