install gllvm from cran

Hello,

I tried to install gllvm, but i got an error:

pak::pkg_install("gllvm")
g++:fatal error: lled signal terminated program cc1plus
compilation terminated.

should I expect this for posit.cloud, even though gllvm is a CRAN package?

@Douglas_Yu Hi, I find the package in CRAN. You could by the code install.packages("gllvm") to install that package. The package is you want?

CRAN - Package gllvm (r-project.org)

i tried that also, but gllvm requires compilation on posit.cloud, and i compilation failed:

g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [/opt/R/4.2.2/lib/R/etc/Makeconf:178: gllvm.o] Error 1
ERROR: compilation failed for package ‘gllvm’
* removing ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.2/gllvm’

There are no binaries available for this package on the Posit Package Manager and very likely you are running out of RAM while compiling. If you have a paid Posit Cloud account you can increase the memory limit for your project.

You can try reporting the missing binary on this forum using this tag #r-admin:packagemanager as per this related topic

Thanks for the heads up. gllvm had likely been affected by some recent issues and should now be available as binary from Posit Package Manager, and also Cloud.