Closed bgoodri closed 1 year ago
Very sorry to be holding things up.
I was able to replicate the issue with the new StanHeaders installed. I have a fix in 36a3cc2. Everything seems to be working now - if you are able to confirm on your end that would be great. I have to clean up a couple other small issues first but should be able to submit to CRAN in the next day or two.
CRAN went with the new StanHeaders so ubms is not working on CRAN at the moment, but ubms is fine with the latest commits.
ubms 1.2.3 is now on CRAN with the fix, thanks for your help with this.
An issue was exposed when I was trying to upload a new major version of StanHeaders to CRAN, but actually the issue is present (albeit not being caught) with the ubms / StanHeaders on CRAN currently,
If you add lines to the effect of
in the
lp_priors
function in ubms/inst/stan/include/functions_priors.stan , your examples and vignettes will run but output things likeIn other words,
idx:nb
evaluates to 2:1, which is not a valid index in the Stan language and is not correct logic for subsettingbeta
andpars
anyways. The new StanHeaders catches this, but unfortunately this issue is one of the few things preventing the StanHeaders from making its way to CRAN.If you could fix this as soon as possible, that would be great.