diff --git a/DESCRIPTION b/DESCRIPTION index 1bcda4c133b40ec93ad45457502470ea38e157da..a9db799ff79c2ec2d2273b190879a5b141545254 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.5.3 +Version: 1.0.5.4 Date: 2017-01-19 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl")), diff --git a/R/plot.OutputsModel.R b/R/plot.OutputsModel.R index a4ed9fe993af4a691b68b63779b29a5958c3770d..9c0c4f54764cd103b7888f906cf69ddfd692bbec 100644 --- a/R/plot.OutputsModel.R +++ b/R/plot.OutputsModel.R @@ -21,7 +21,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea = if( is.null( which)){ stop("which must be a vector of character \n"); return(NULL); } if(!is.vector( which)){ stop("which must be a vector of character \n"); return(NULL); } if(!is.character(which)){ stop("which must be a vector of character \n"); return(NULL); } - if(sum(which %in% c("all", "Precip", "SnowPack", "Flows", "Regime", "CumFreq", "CorQQ") == FALSE) != 0){ + if(sum(which %in% c("all", "Precip", 'Temp', "SnowPack", "Flows", "Regime", "CumFreq", "CorQQ") == FALSE) != 0){ cat("Incorrect element found in which \n"); stop("which can only contain 'all', 'Precip', 'Temp', 'SnowPack', 'Flows', 'Regime', 'CumFreq' or 'CorQQ') \n"); return(NULL); } diff --git a/inst/CITATION b/inst/CITATION index bc2ca96af4f6ed8af511c1d58c5f8645c427e773..ff9a0e5d7f756e823279ea3a89e15cb3f960d605 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -18,13 +18,13 @@ citEntry(entry="Manual", author = personList(as.person("L. Coron"), as.person("C. Perrin"), as.person("C. Michel")), journal = "R News", year = "2017", - note = "R package version 1.0.5.3", + note = "R package version 1.0.5.4", url = "https://webgr.irstea.fr/airGR/?lang=en", textVersion = paste("Coron, L., Perrin, C. and Michel, C.", "(2017).", "airGR: Suite of GR hydrological models for precipitation-runoff modelling.", - "R package version 1.0.5.3.", + "R package version 1.0.5.4.", "https://webgr.irstea.fr/airGR/?lang=en.", sep = " ") )