I am trying to install SDMTools 1.1-221 in R 4.2. This is the code I am using:
install.packages("remotes")
remotes::install_version("SDMTools","1.1-221")
And this is the message that is shown:
ERROR: compilation failed for package 'SDMTools'
- removing 'C:/Users/holde/AppData/Local/R/win-library/4.2/SDMTools'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/holde/AppData/Local/Temp/Rtmp4ypYeO/remotes4fb467706b03/SDMTools’ had non-zero exit status
I have even used the code
remotes::install_version("SDMTools","1.1-221",dependencies = TRUE)
The message is still the same. I downloaded RTools42 to try and help, but it has not. I appreciate any feedback and help.