andrefaa/ENMTML

Error installing package ENMTML from github

Closed this issue · 1 comments

Hi there,

I am attempting to install ENMTML in R but I have ran into an error message concerning Rstoolbox being not available for package ENMTML.

Here is the code I used (from the packages page on github)
if (!"devtools"%in%installed.packages()){install.packages("devtools")}
devtools::install_github("andrefaa/ENMTML")

Below is part of the specific message that pops up in the console:
ERROR: dependency 'RStoolbox' is not available for package 'ENMTML'

  • removing 'C:/Users/mduda/AppData/Local/R/win-library/4.2/ENMTML'

I had RStoolbox version 4.3 downloaded but I also received an error message stating that 4.2 was needed to play nicely with the ENMTML package so I downloaded 4.2 and tried again but received the message above. Please let me know if you have run into this problem before and if you have any solutions to this issue! I guess I can try uninstalling and reinstalling R if nothing works. Thank you so much!

Hi

Use the package remotes

install.packages("remotes")
remotes::install_github("andrefaa/ENMTML")

Best