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

Problem updating rstanarm on Ubuntu 20.04 LTS #565

Closed paulauvirage closed 2 years ago

paulauvirage commented 2 years ago

Summary:

When updating the package, I get the error make: *** [/usr/lib/R/etc/Makeconf:175: stan_files/bernoulli.o] Error 1 rm stan_files/bernoulli.cc ERROR: compilation failed for package ‘rstanarm’

I get the same error message when trying to: (1) install from Cran; and (2) installation of the development version following the standard instructions (https://github.com/stan-dev/rstanarm#development-version) and tyring both MAKEFLAGS = "-j2" and MAKEFLAGS = "-j1"

I am running R 4.1.3 and already have installled rstan 2.26.10 and rstanarm 2.21.1

jgabry commented 2 years ago

Sorry for the slow reply. I don't know much about installing on Ubuntu but I'm tagging @bgoodri who knows a lot more about Linux than I do.

bgoodri commented 2 years ago

My guess is that you ran out of RAM. If you are in the sudoers group, then you can also sudo apt install r-cran-rstanarm.

mikegilchrist commented 1 year ago

This is the same error message discussed in Install issue - splitting "Application Support" path to RcppParallel #579