Issues with installing the "SDMSelect" package

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

Thank you for your help !

This package dependency is not longer on CRAN, you can try to install it from the GitHub mirror.


the output of what you have linked is :

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


I think it's the same issue, try from github


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.

1 Like

Ok, thanks a lot for your help !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.