Unable to install hydromad package in RStudio

160 views
Skip to first unread message

Kanishk Chauhan

unread,
Feb 22, 2022, 1:26:01 AM2/22/22
to hydromad users
Hello everyone,

http://hydromad.catchment.org/#installation - As suggested n this page, I tried to install hydromad package in RStudio, but shown below warning in output.

-----------------------------X---------------------------------------
> install.packages("hydromad", repos="http://hydromad.catchment.org")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/sheet/OneDrive/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository http://hydromad.catchment.org/bin/windows/contrib/4.1:
  cannot open URL 'http://hydromad.catchment.org/bin/windows/contrib/4.1/PACKAGES'
Package which is only available in source form, and may need
  compilation of C/C++/Fortran: ‘hydromad’
  These will not be installed
-----------------------------X---------------------------------------

Please guide me where I am wrong, and how to install it properly.

Thanks,

Kanishk Chauhan
Bachelors-Masters Integrated Program
Indian Institute of Technology Kanpur

Willem Vervoort

unread,
Feb 22, 2022, 5:01:23 AM2/22/22
to hydromad-users
Hi Kanishk,
yes, it seems like the binary for 4.1 is missing.
Probably the easiest way is to go to this link: http://hydromad.catchment.org/bin/windows/contrib/ and download the zip file of the 4.0 version and install the package locally from the zip file. This uses the basic zip file package install instructions

Alternatively you can install Rtools and install the package from source from github.

Regards
Willem

--
You received this message because you are subscribed to the Google Groups "hydromad users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hydromad-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hydromad-users/b7beeb41-3e53-455a-b37b-e8c7f55fc565n%40googlegroups.com.

mehnaz akhter

unread,
May 6, 2023, 2:12:48 AM5/6/23
to hydromad users
You need to download R tools same version as your R then install hydromad from the link given
Reply all
Reply to author
Forward
0 new messages