Unable to install the development branch of 'rstanarm' on Win10
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 401
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Description
Summary:
I need to get access to the stan_surv() function from 'rstanarm' development package; however, I am unable to install it on my machine.
Description:
I tried to install 'rstanarm' to use it for Bayesian survival analysis in two ways:
- devtools::install_github("stan-dev/rstanarm", build_vignettes = FALSE) -> It installed after uninstalling and re-installing many other packages like 'glue', 'ps', etc. But did not have 'stan_surv' function in the end.
There was a warning too:
Warning message:
In utils::untar(tarfile, ...) :
‘tar.exe -xf "C:\Users\z3529455\AppData\Local\Temp\RtmpstuJZu\file755416331bd.tar.gz" -C "C:/Users/z3529455/AppData/Local/Temp/RtmpstuJZu/remotes75543a041272"’ returned error code 1
- devtools::install_github("stan-dev/rstanarm",ref = "feature/survival", build_vignettes = FALSE) -> did not install with this error: installation of package ‘rstanarm’ had non-zero exit status.
Here is the error:
Error: Failed to install 'rstanarm' from GitHub:
(converted from warning) installation of package ‘C:/Users/z3529455/AppData/Local/Temp/RtmpstuJZu/file75541be324a9/rstanarm_2.19.1.tar.gz’ had non-zero exit status
In addition: Warning message:
In utils::untar(tarfile, ...) :
‘tar.exe -xf "C:\Users\z3529455\AppData\Local\Temp\RtmpstuJZu\file7554777d77a3.tar.gz" -C "C:/Users/z3529455/AppData/Local/Temp/RtmpstuJZu/remotes7554f9c35f"’ returned error code 1
Would someone please help me with that? I am in an urgent need!
R Version:
The version of R you are running (e.g., from getRversion())
3.6.3
Operating System:
My operating system is Windows10
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 with the two devtools::install_github commands in the report and reproduce the tar.exe extraction failure on R 3.6.3 under Windows 10. Inspect the installation output for the development branch and feature/survival ref to identify why the archive extraction fails; done means the branch installs successfully and exposes stan_surv().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100