This PR makes some small changes needed for your package to be compatible with the upcoming RStan 2.26. The src folder and stanmodels.R file have been deleted, as this is now fully handled by the rstantools package.
I've also made a small modification to the gen_eobs.stan code, so that the argument to the linkinv function is first assigned to a vector before being passed to linkinv. This is because there are some transition issues when using user-defined functions with the new StanHeaders but the older rstan. This can be reverted once the new versions of both are on CRAN.
This PR makes some small changes needed for your package to be compatible with the upcoming RStan 2.26. The
src
folder andstanmodels.R
file have been deleted, as this is now fully handled by therstantools
package.I've also made a small modification to the
gen_eobs.stan
code, so that the argument to thelinkinv
function is first assigned to a vector before being passed tolinkinv
. This is because there are some transition issues when using user-defined functions with the newStanHeaders
but the olderrstan
. This can be reverted once the new versions of both are on CRAN.Let me know if you had any questions, thanks!