rchlumsk / RavenR

R package for handling Raven hydrologic modelling framework inputs, outputs, and diagnostics
36 stars 16 forks source link

rvn_rvi_read: error in the evaluation of conditional statement #89

Closed rarabzad closed 2 years ago

rarabzad commented 2 years ago

For a sample model calibration input files (example C4) on Raven webpage, the function reports an error about evaluation of an conditional statement where FALSE/TRUE needed

rchlumsk commented 2 years ago

Thanks for this - just fixed in the dev branch version of rvn_rvi_read

On line 70 of parsing the file, there is a check for null lines but not zero-length lines. Updated now!