rbchan / unmarked

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

Fix warnings on CRAN before resubmission #228

Closed kenkellner closed 2 years ago

kenkellner commented 2 years ago

https://cran.r-project.org/web/checks/check_results_unmarked.html

kenkellner commented 2 years ago

clang warnings were fixed in 9b7b5cd. I can't replicate the gcc warning here:

https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/unmarked-00install.html

Must be from the brand-new gcc version. The line in question is so simple I have to suspect this is some kind of problem with the compiler, especially since it's been fine in previous versions of gcc.