data(Cotter) warning messages

15 views
Skip to first unread message

Anas Musah

unread,
Aug 3, 2020, 12:57:14 AM8/3/20
to hydromad users
Following the hydromad tutorial,

data(Cotter) gives me a warning messages:

1: In file(file, "rt") :
  file("") only supports open = "w+" and open = "w+b": using the former
2: In file(file, "rt") :
  file("") only supports open = "w+" and open = "w+b": using the former

Checking the summary, I got this also:

> summary(Cotter)
     Index   
 Min.   :NA  
 1st Qu.:NA  
 Median :NA  
 Mean   :NA  
 3rd Qu.:NA  
 Max.   :NA 

I am using R 4.0.2 and hydromad 0.9-26

Joseph Guillaume

unread,
Aug 4, 2020, 7:53:08 PM8/4/20
to hydromad users
This should now be fixed.
options("repos"=c(options("repos"),hydromad="http://hydromad.catchment.org"))
install.packages("hydromad")

It seems that it was related to a change in R rather than hydromad. We're in the middle of some improvements in hydromad now so hopefully we'll get better at catching these issues in future.

Cheers,

Joseph
Reply all
Reply to author
Forward
0 new messages