Closed gaborcsardi closed 8 months ago
@bgoodri any ideas what’s going on here?
My guess is that it will be OK if you have the V8 package installed, in which case it will try to use that rather than QuickJSR. But we have other problems with rstanarm and clang++-16
that will have to get fixed.
@bgoodri FYI that stanc
won't delegate to V8 until you submit the new version of rstan
to CRAN
It looks like this is another issue of the #
character causing breakages, the model parses without issue when I remove this line: https://github.com/stan-dev/rstanarm/blob/ebd07d4603efa397f580f3ec99c3d99637758986/src/stan_files/functions/SSfunctions.stan#L3
So, I installed V8: https://github.com/r-hub/repos/actions/runs/6537719530/job/17752131768#step:3:93 and I recompiled the new version of rstan: https://github.com/r-hub/repos/actions/runs/6537719530/job/17752131768#step:5:3232 but the rstanarm build still fails: https://github.com/r-hub/repos/actions/runs/6537719530/job/17752131768#step:5:3235
Do you have another idea to make this work?
That combination is working on CRAN. Possibly you have a different version of V8 than what they are using. We'll see what happens once StanHeaders 2.32.x goes up (its Javascript parser is somewhat more reliable on well-formatted Stan programs).
FWIW this is now fixed on my machines, so I am going to close this issue.
Summary:
rstanarm (CRAN or dev version) fails to install on a container with clang 16 and libc++.
Description:
rstanarm fails to install on this container: https://r-hub.github.io/containers/containers.html#clang16
The error is
Complete output: https://github.com/r-hub/repos/actions/runs/6277015937/job/17047933214#step:4:12133
Reproducible Steps:
RStanARM Version:
Version: 2.26.1
R Version:
Operating System:
Ubuntu 22.04.3 LTS
Complete system info here: https://r-hub.github.io/containers/containers.html#clang16
~/.R/Makevars
has