diff --git a/DESCRIPTION b/DESCRIPTION index 8a4e477912d72f4754997d77bbc3b19fc110fdaa..903d219f4f27900a2cb77b9a689fcdee07319baa 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.0.13.5 +Version: 1.0.13.6 Date: 2018-08-29 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.rmd b/NEWS.rmd index 8dda1d5f21a1631a200ff10c0c4d3568d8f817df..1d3acea659cf1e6775864fe0e1afa22f0961aec4 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -14,7 +14,7 @@ output: -### 1.0.13.5 Release Notes (2018-08-29) +### 1.0.13.6 Release Notes (2018-08-29) #### Deprectated and defunct diff --git a/R/ErrorCrit_KGE.R b/R/ErrorCrit_KGE.R index e7924885c4b4da7e1c0ef0ec3b394570bef6229a..fa82de1746ef0912ba18b6fd99acd06c28e25832 100644 --- a/R/ErrorCrit_KGE.R +++ b/R/ErrorCrit_KGE.R @@ -2,11 +2,11 @@ ErrorCrit_KGE <- function(InputsCrit, OutputsModel, warnings = TRUE, verbose = T ##Arguments_check________________________________ - if (inherits(InputsCrit, "InputsCrit") == FALSE) { + if (!inherits(InputsCrit, "InputsCrit")) { stop("InputsCrit must be of class 'InputsCrit' \n") return(NULL) } - if (inherits(OutputsModel, "OutputsModel") == FALSE) { + if (!inherits(OutputsModel, "OutputsModel")) { stop("OutputsModel must be of class 'OutputsModel' \n") return(NULL) } diff --git a/R/ErrorCrit_KGE2.R b/R/ErrorCrit_KGE2.R index 11ef1c18882ecce523cdd7ebbf48371f2d7ebfd1..88b1d6b80c1ba3507ddcdd4ca8c1c9e72c0160a7 100644 --- a/R/ErrorCrit_KGE2.R +++ b/R/ErrorCrit_KGE2.R @@ -2,11 +2,11 @@ ErrorCrit_KGE2 <- function(InputsCrit, OutputsModel, warnings = TRUE, verbose = ##Arguments_check________________________________ - if (inherits(InputsCrit, "InputsCrit") == FALSE) { + if (!inherits(InputsCrit, "InputsCrit")) { stop("InputsCrit must be of class 'InputsCrit' \n") return(NULL) } - if (inherits(OutputsModel, "OutputsModel") == FALSE) { + if (!inherits(OutputsModel, "OutputsModel")) { stop("OutputsModel must be of class 'OutputsModel' \n") return(NULL) } diff --git a/R/ErrorCrit_NSE.R b/R/ErrorCrit_NSE.R index 3a79ad3d208df48fa961b197455bb8fb035b3a7d..b65f72242dad972f79e5bc25dd074966461a4403 100644 --- a/R/ErrorCrit_NSE.R +++ b/R/ErrorCrit_NSE.R @@ -2,11 +2,11 @@ ErrorCrit_NSE <- function(InputsCrit, OutputsModel, warnings = TRUE, verbose = T ##Arguments_check________________________________ - if (inherits(InputsCrit, "InputsCrit") == FALSE) { + if (!inherits(InputsCrit, "InputsCrit")) { stop("InputsCrit must be of class 'InputsCrit' \n") return(NULL) } - if (inherits(OutputsModel, "OutputsModel") == FALSE) { + if (!inherits(OutputsModel, "OutputsModel")) { stop("OutputsModel must be of class 'OutputsModel' \n") return(NULL) } diff --git a/R/ErrorCrit_RMSE.R b/R/ErrorCrit_RMSE.R index e137ee09fd123456fd12ba48d4652cadb4e05179..085871ccd130fa2648a591dfe0b8d6213e5c0e33 100644 --- a/R/ErrorCrit_RMSE.R +++ b/R/ErrorCrit_RMSE.R @@ -2,11 +2,11 @@ ErrorCrit_RMSE <- function(InputsCrit, OutputsModel, warnings = TRUE, verbose = ##Arguments_check________________________________ - if (inherits(InputsCrit, "InputsCrit") == FALSE) { + if (!inherits(InputsCrit, "InputsCrit")) { stop("InputsCrit must be of class 'InputsCrit' \n") return(NULL) } - if (inherits(OutputsModel, "OutputsModel") == FALSE) { + if (!inherits(OutputsModel, "OutputsModel")) { stop("OutputsModel must be of class 'OutputsModel' \n") return(NULL) }