zdebruine / RcppML

Rcpp Machine Learning: Fast robust NMF, divisive clustering, and more
GNU General Public License v2.0
89 stars 15 forks source link

compilation of the development version failing #31

Closed secanjuraro closed 2 years ago

secanjuraro commented 2 years ago

Hi Zach, First of all, thank you for this great package. I recently started working with it in R (version 4.2.0 ) and I’m having some issues when trying to compile the developement version with the command : devtools::install_github("zdebruine/RcppML"). Could you help me please ?

I’ve tried to install it in two different computers, both with Windows 11 and Rtools installed, and I keep getting the « package installation had non-zero exit status » error . The first warning message says that the package RcppSparse is not available for my R version, which is the latest one and I just can't download it. Do you have any idea where this could be coming from ?

Best regards, Sonia

zdebruine commented 2 years ago

Yep, sorry about this. New release coming soon that removes the RcppSparse dependency. Just do the following for now:

library(devtools)
devtools::install_github("zdebruine/RcppSparse")
devtools::install_github("zdebruine/RcppML")
library(RcppML)
MarcElosua commented 2 years ago

This works for me!

zdebruine commented 2 years ago

Fixed with 4cdc6a70cbbab3e32ec43da24151c51d0fd0dbff. Rcpp sparse matrix classes are now a part of the RcppML package itself. No additional dependencies.