Hello, I'm new on R and I'm trying to get the SDMSelect package. Here is my issue : I installed the package named "devtools" and enter that following input -> devtools::install_github("statnmap/SDMSelect")
Then I select "All" and I have these 3 warning messages :
1: the 'geoR' package is not available for this version of R
A version of this package for your version of R may be available elsewhere,
See ideas at
2: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\vigne\Documents\R\R-4.1.0\library\00LOCK\cli\libs\x64\cli.dll to C:\Users\vigne\Documents\R\R-4.1.0\library\cli\libs\x64\cli.dll: Permission denied
3: In i.p(...) :
installation of package ‘C:/Users/vigne/AppData/Local/Temp/Rtmp6NJZXL/file910194a4f04/SDMSelect_0.1.6.tar.gz’ had non-zero exit status
ERROR: dependency 'RandomFields' is not available for package 'geoR'
* removing 'C:/Users/vigne/Documents/R/R-4.1.0/library/geoR'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/vigne/AppData/Local/Temp/RtmpiWf65A/file6fc5f8f5d9a/geoR_1.8-1.tar.gz’ had non-zero exit status
That is the problem with using old un maintained packages, they stop working with updates. You just have to keep trying to install dependencies from other sources but there is no guarantee it is going to work at the end.