Running examples in 'EcoHydRology-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Lumped_VSA_model
> ### Title: Lumped Variable Source Area (VSA) Watershed Model
> ### Aliases: Lumped_VSA_model
> 
> ### ** Examples
> 
> data(OwascoInlet)
> # First get rain and snow-melt input: 
> rsm <- SnowMelt(Date=OwascoInlet$date, precip_mm=OwascoInlet$P_mm, Tmax_C=OwascoInlet$Tmax_C, 
+ Tmin_C=OwascoInlet$Tmin_C, lat_deg=42.66)
Error in Tx == -999 || Tn == -999 : 
  'length = 888' in coercion to 'logical(1)'
Calls: SnowMelt -> EstCloudiness
Execution halted
Running examples in ‘EcoHydRology-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Lumped_VSA_model
> ### Title: Lumped Variable Source Area (VSA) Watershed Model
> ### Aliases: Lumped_VSA_model
> 
> ### ** Examples
> 
> data(OwascoInlet)
> # First get rain and snow-melt input: 
> rsm <- SnowMelt(Date=OwascoInlet$date, precip_mm=OwascoInlet$P_mm, Tmax_C=OwascoInlet$Tmax_C, 
+ Tmin_C=OwascoInlet$Tmin_C, lat_deg=42.66)
Error in Tx == -999 || Tn == -999 : 
  'length = 888' in coercion to 'logical(1)'
Calls: SnowMelt -> EstCloudiness
Execution halted
Running examples in ‘EcoHydRology-Ex.R’ failed
The error most likely occurred in:

> ### Name: Lumped_VSA_model
> ### Title: Lumped Variable Source Area (VSA) Watershed Model
> ### Aliases: Lumped_VSA_model
> 
> ### ** Examples
> 
> data(OwascoInlet)
> # First get rain and snow-melt input: 
> rsm <- SnowMelt(Date=OwascoInlet$date, precip_mm=OwascoInlet$P_mm, Tmax_C=OwascoInlet$Tmax_C, 
+ Tmin_C=OwascoInlet$Tmin_C, lat_deg=42.66)
Error in Tx == -999 || Tn == -999 : 
  'length = 888' in coercion to 'logical(1)'
Calls: SnowMelt -> EstCloudiness
Execution halted
Running examples in 'EcoHydRology-Ex.R' failed
The error most likely occurred in:

> ### Name: Lumped_VSA_model
> ### Title: Lumped Variable Source Area (VSA) Watershed Model
> ### Aliases: Lumped_VSA_model
> 
> ### ** Examples
> 
> data(OwascoInlet)
> # First get rain and snow-melt input: 
> rsm <- SnowMelt(Date=OwascoInlet$date, precip_mm=OwascoInlet$P_mm, Tmax_C=OwascoInlet$Tmax_C, 
+ Tmin_C=OwascoInlet$Tmin_C, lat_deg=42.66)
Error in Tx == -999 || Tn == -999 : 
  'length = 888' in coercion to 'logical(1)'
Calls: SnowMelt -> EstCloudiness
Execution halted