Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Installation with R 3.6.0 #14
Thanks for the great library! I'm attempting to install on a fresh Mojave install and I ran into some issues compiling. I've found a workaround but I thought this might be helpful to report.
First, I installed R compiler tools on a fresh R 3.6.0 install using the useful guide by @coatless. I get Rcpp (1.0.1) and RcppArmadillo (0.9.500.2.0) to install without issues, and the example compiles and runs just fine. I then installed ArrayFire 3.6.4 using the OSX installer.
For RcppArrayFire, I followed the wiki's instructions:
drat::addRepo("daqana") install.packages("RcppArrayFire", configure.args = "--with-arrayfire=/opt/arrayfire")
This yields the following error:
I would love to read
But, I get the same error if I git clone the
It appears that the error has to do with the command
This seems to be fixed in the configure and configure.ac for the main branch. I also attempted to git clone the main branch this repository, and the error is quite a bit different:
So, my workaround is to use the macos branch, but replace
Thanks again for a fantastic library.
I can reproduce the error from
This are the sort of errors that have been plaguing me since I tried to port RcppArrayFire to MacOS. I find it fascinating that it does not occur for you. As a workaround, I am now adding
Nice, thank you! I can confirm the
Your error looks like it might be related to staged install in R 3.6.0: