rstanarm
rstanarm copied to clipboard
Installation failure for `feature/survival`
Summary:
I can't install the feature/survival branch on my Windows laptop.
Description:
C:/Users/XXX/Documents/R-4.2.3/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
make: *** [C:/Users/XXX/DOCUME~1/R-42~1.3/etc/x64/Makeconf:258: stan_files/bernoulli.o] Error 1
rm stan_files/polr.cc stan_files/mvmer.cc stan_files/count.cc stan_files/lm.cc stan_files/jm.cc stan_files/surv.cc stan_files/bernoulli.cc stan_files/binomial.cc stan_files/continuous.cc
ERROR: compilation failed for package 'rstanarm'
* removing 'C:/Users/yangz34/Documents/R-4.2.3/library/rstanarm'
Warning messages:
1: In utils::untar(tarfile, ...) :
‘tar.exe -xf "C:\Users\yangz34\AppData\Local\Temp\Rtmpik6Umn\file870c79f36023.tar.gz" -C "C:/Users/yangz34/AppData/Local/Temp/Rtmpik6Umn/remotes870c71913799"’ returned error code 1
2: In i.p(...) :
installation of package ‘C:/Users/yangz34/AppData/Local/Temp/Rtmpik6Umn/file870c2d986e5c/rstanarm_2.21.3.tar.gz’ had non-zero exit status
Reproducible Steps:
If applicable, the steps required to reproduce the issue. If you have a reproducible example, please include it.
Sys.setenv(MAKEFLAGS = "-j2")
Sys.setenv("R_REMOTES_NO_ERRORS_FROM_WARNINGS" = "true")
devtools::install_github("stan-dev/rstanarm", ref = "feature/survival", build_vignettes = FALSE)
RStanARM Version:
stan-dev/rstanarm
R Version:
> getRversion()
[1] ‘4.2.3’
Operating System:
Windows 10