zdebruine / RcppML

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

error in installing devtools::install_github("zdebruine/RcppML") #51

Closed Rose-Hedderman closed 3 months ago

Rose-Hedderman commented 3 months ago

devtools::install_github("zdebruine/RcppML") Using GitHub PAT from the git credential store. Downloading GitHub repo zdebruine/RcppML@HEAD These packages have more recent versions available. It is recommended to update all of them. Which would you like to update?

1: All
2: CRAN packages only
3: None
4: xfun (0.42 -> 0.43) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 1 xfun (0.42 -> 0.43) [CRAN] Installing 1 packages: xfun trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.3/xfun_0.42.tgz' Content type 'application/x-gzip' length 475932 bytes (464 KB)

downloaded 464 KB

The downloaded binary packages are in /var/folders/xf/8l51mcd939x_wh_596kx9lpw0000gn/T//RtmpSU7Lxl/downloaded_packages ── R CMD build ────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file ‘/private/var/folders/xf/8l51mcd939x_wh_596kx9lpw0000gn/T/RtmpSU7Lxl/remotes5088378f0bf2/zdebruine-RcppML-5449a5b/DESCRIPTION’ ... ─ preparing ‘RcppML’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories NB: this package now depends on R (>= 3.5.0) WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: ‘RcppML/data/aml.rdata’ ‘RcppML/data/hawaiibirds.rdata’ ‘RcppML/data/movielens.rdata’ ─ building ‘RcppML_0.5.6.tar.gz’

any thoughts on how to solve this?

zdebruine commented 3 months ago

Sounds like you need to install gfortran. I'm guessing you're on a linux HPC system and you just need to load a module or contact your system administrator. This is not an issue with the package, you will have issues installing many packages, particularly those depending on he RcppEigen package.