From f6df4d28845872f56cd9e1573c73388d20b7db19 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.fr>
Date: Tue, 27 Apr 2021 09:08:00 +0200
Subject: [PATCH] refactor(warning): review warning message returned when
 LengthHydro > 1000

---
 R/CreateInputsModel.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/R/CreateInputsModel.R b/R/CreateInputsModel.R
index 93b97dc7..958d93ee 100644
--- a/R/CreateInputsModel.R
+++ b/R/CreateInputsModel.R
@@ -157,7 +157,7 @@ CreateInputsModel <- function(FUN_MOD,
       warning("'Qupstream' contains NA values: model outputs will contain NAs")
     }
     if(any(LengthHydro > 1000)) {
-      warning("The unit of 'LengthHydro' has changed from m to km in v1.7 of airGR: values superior to 1000 km seem unrealistic")
+      warning("The unit of 'LengthHydro' has changed from m to km in airGR >= 1.6.12: values superior to 1000 km seem unrealistic")
     }
     QupstrUnit <- tolower(QupstrUnit)
     QupstrUnit <- match.arg(arg = QupstrUnit, choices = c("mm", "m3", "m3/s", "l/s"))
-- 
GitLab