corinjorgenson / RandomForest-cpx-thermobarometer

MIT License
14 stars 2 forks source link

extraTrees is archived #1

Closed corinjorgenson closed 1 year ago

corinjorgenson commented 2 years ago

Hi there, If you are here it's probably because you are having problems installing the extraTree's package.

extraTrees was unfortunately removed from the CRAN repository (though might get added back we hope)! However you can add the archived package. You can do this manually in R or download the archieved package (https://cran.r-project.org/src/contrib/Archive/extraTrees/) and then run this line of code in the console (of course change C:/Users/jorgec8/Downloads/extraTrees_1.0.5.tar,gz to where you saved your file!!)

install.packages("C:/Users/jorgec8/Downloads/extraTrees_1.0.5.tar,gz",repos=NULL, type="source", INSTALL_opts="--no-multiarch")

If this still gives you errors double check you have a compatible version of Java and R (both 32 or 64 bit). Otherwise you can email me: corin.jorgenson@unige.ch

Cheers!

corinjorgenson commented 1 year ago

Hey there! We found a work around for this problem.

install.packages("remotes") library(remotes) install_version("extraTrees", version = "1.0.5",INSTALL_opts="--no-multiarch") library(extraTrees)

It is in the new versions of the code where you can get it there or add this code.

And thanks to Alessandro Musu for finding the fix!

Cheers, Corin