hzambran / hydroGOF

Goodness-of-fit functions for comparison of simulated and observed hydrological time series
https://CRAN.R-project.org/package=hydroGOF
39 stars 13 forks source link

Syntax error in `KGE.R` #18

Closed tungttnguyen closed 11 months ago

tungttnguyen commented 1 year ago

Hi Mauricio,

This is the error I got when compiling from GitHub. Can you please check? Thanks!

/hydroGOF/R/KGE.R:134:53: unexpected ')'
133:     if ( (mean.obs != 0) | (sigma.obs != 0) ) {
134:         if ( (method=="2009") | if (method=="2012") )
                                                         ^
ERROR: unable to collate and parse R files for package 'hydroGOF'
hzambran commented 11 months ago

Thank you very much. Fixed !