biodiverse / ubms

Fit models to data from unmarked animals using Stan. Uses a similar interface to the R package 'unmarked', while providing the advantages of Bayesian inference and allowing estimation of random effects.
https://hmecology.github.io/ubms/
GNU General Public License v3.0
35 stars 8 forks source link

Fix Makevars to avoid CRAN warning #70

Closed jgabry closed 1 year ago

jgabry commented 1 year ago

Hi @kenkellner, CRAN is adding a warning when comparing a package version number to a numeric and not a string (e.g. 2.26 vs '2.26'). In the future only strings will be accepted. This PR fixes your Makevars files to avoid this problem.

We are also updating the code in rstantools so that future Makevars files written by rstantools will avoid this problem.

kenkellner commented 1 year ago

Thanks @jgabry