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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: PETFUN
> ### Title: Spatialize 'PET_fromTemp' function from package 'EcoHydrology'
> ### Aliases: PETFUN
> 
> ### ** Examples
> 
> PET <- PETFUN(df_tmax, df_tmin, df_alt)
Error in if ((abs(lat) > pi/2 & latUnits == "unknown") | latUnits == "degrees") { : 
  the condition has length > 1
Calls: PETFUN -> lapply -> FUN -> <Anonymous> -> NetRad -> Solar
Execution halted
Running examples in ‘Mapinguari-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: PETFUN
> ### Title: Spatialize 'PET_fromTemp' function from package 'EcoHydrology'
> ### Aliases: PETFUN
> 
> ### ** Examples
> 
> PET <- PETFUN(df_tmax, df_tmin, df_alt)
Error in if ((abs(lat) > pi/2 & latUnits == "unknown") | latUnits == "degrees") { : 
  the condition has length > 1
Calls: PETFUN -> lapply -> FUN -> <Anonymous> -> NetRad -> Solar
Execution halted
Namespaces in Imports field not imported from:
  ‘dplyr’ ‘rgdal’ ‘rlang’ ‘testthat’
  All declared Imports should be used.
Running examples in ‘Mapinguari-Ex.R’ failed
The error most likely occurred in:

> ### Name: PETFUN
> ### Title: Spatialize 'PET_fromTemp' function from package 'EcoHydrology'
> ### Aliases: PETFUN
> 
> ### ** Examples
> 
> PET <- PETFUN(df_tmax, df_tmin, df_alt)
Error in if ((abs(lat) > pi/2 & latUnits == "unknown") | latUnits == "degrees") { : 
  the condition has length > 1
Calls: PETFUN -> lapply -> FUN -> <Anonymous> -> NetRad -> Solar
Execution halted
Namespaces in Imports field not imported from:
  ‘dplyr’ ‘rgdal’ ‘rlang’ ‘testthat’
  All declared Imports should be used.
Running examples in ‘Mapinguari-Ex.R’ failed
The error most likely occurred in:

> ### Name: PETFUN
> ### Title: Spatialize 'PET_fromTemp' function from package 'EcoHydrology'
> ### Aliases: PETFUN
> 
> ### ** Examples
> 
> PET <- PETFUN(df_tmax, df_tmin, df_alt)
Error in if ((abs(lat) > pi/2 & latUnits == "unknown") | latUnits == "degrees") { : 
  the condition has length > 1
Calls: PETFUN -> lapply -> FUN -> <Anonymous> -> NetRad -> Solar
Execution halted
Running examples in 'Mapinguari-Ex.R' failed
The error most likely occurred in:

> ### Name: PETFUN
> ### Title: Spatialize 'PET_fromTemp' function from package 'EcoHydrology'
> ### Aliases: PETFUN
> 
> ### ** Examples
> 
> PET <- PETFUN(df_tmax, df_tmin, df_alt)
Error in if ((abs(lat) > pi/2 & latUnits == "unknown") | latUnits == "degrees") { : 
  the condition has length > 1
Calls: PETFUN -> lapply -> FUN -> <Anonymous> -> NetRad -> Solar
Execution halted
Running examples in ‘Mapinguari-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: PETFUN
> ### Title: Spatialize 'PET_fromTemp' function from package 'EcoHydrology'
> ### Aliases: PETFUN
> 
> ### ** Examples
> 
> PET <- PETFUN(df_tmax, df_tmin, df_alt)
Error in if ((abs(lat) > pi/2 & latUnits == "unknown") | latUnits == "degrees") { : 
  the condition has length > 1
Calls: PETFUN -> lapply -> FUN -> <Anonymous> -> NetRad -> Solar
Execution halted
Namespaces in Imports field not imported from:
  ‘dplyr’ ‘rgdal’ ‘rlang’ ‘testthat’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘dplyr’ ‘rgdal’ ‘rlang’ ‘testthat’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘dplyr’ ‘rgdal’ ‘rlang’ ‘testthat’
  All declared Imports should be used.