rstanarm
rstanarm copied to clipboard
Fix compilation under rstan 2.26
This PR adds Makevars flags needed to build rstanarm against the new 2.26 version of rstan
Thanks @andrjohns! Will this now only work with 2.26 or will it still also work fine with older versions?
Looks like I missed a comment from @hsbadr on this! This flag should only be defined if the associated rstan version is >= 2.26. (that comment here). So this flag should be conditionally included using if (utils::packageVersion("rstan") >= 2.26). I'll have a look into fixing this up
Ok great thanks!
Superseded by #574