Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failure for feature/survival #592

Open
zhiiiyang opened this issue Jun 14, 2023 · 0 comments
Open

Installation failure for feature/survival #592

zhiiiyang opened this issue Jun 14, 2023 · 0 comments

Comments

@zhiiiyang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant