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

Error: Failed to install 'causalTree' from GitHub #43

Closed
umernaeem1 opened this issue Mar 21, 2021 · 1 comment
Closed

Error: Failed to install 'causalTree' from GitHub #43

umernaeem1 opened this issue Mar 21, 2021 · 1 comment

Comments

@umernaeem1
Copy link

Hello,

Thank you for the package. I tried to install it using the instructions provided.

devtools::install_github("susanathey/causalTree")

However, I am unable to install it and getting the following error

Error: Failed to install 'causalTree' from GitHub: (converted from warning) installation of package ‘C:/Users/Umer/AppData/Local/Temp/RtmpqQMa3P/file2b2452ab5c24/causalTree_0.0.tar.gz’ had non-zero exit status

Can you help me out? Thanks

@umernaeem1
Copy link
Author

I was able to resolve it using solution from another thread

For Windows R-Studio

1). Use https://www.accelebrate.com/library/how-to-articles/r-rstudio-library to fix multi library issue
2). Install rgl alone
3). Use the following instead of (devtools::install_github):
'install_github("susanathey/causalTree", INSTALL_opts="--no-multiarch")'

Source: tylermorganwall/rayshader#52

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