Error: Failed to install 'causalTree' from GitHub
umernaeem1 opened this issue · comments
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
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