Installation failure for `feature/survival`
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 401
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Windows 10 installation with R 4.2.3 using the listed devtools::install_github command for the feature/survival branch and MAKEFLAGS=-j2. Inspect the compiler output around stan_files/bernoulli.o and determine what prevents rstanarm from installing; done means the branch installs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100