stan-dev / rstanarm

rstanarm R package for Bayesian applied regression modeling
https://mc-stan.org/rstanarm
GNU General Public License v3.0
385 stars 132 forks source link

Array syntax #597

Closed bgoodri closed 1 year ago

bgoodri commented 1 year ago

It is hard to know if I got 100% of the old arrays converted. The current canonicalizer in the Ocaml stanc will convert the top level .stan files, but it does not know what to do with the many files that only exist to be #included into other Stan programs.

jgabry commented 1 year ago

Nice. Any idea why tcrossprod is a problem?

https://github.com/stan-dev/rstanarm/actions/runs/6128909508/job/16636479378?pr=597#step:8:421

Error: Error in tcrossprod(sc * Li) : "tcrossprod" is not a BUILTIN function

bgoodri commented 1 year ago

No, but it happens inconsistently on CRAN with the new rstan but without any change to the array syntax.