Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGR
Commits
7a8448ca
Commit
7a8448ca
authored
Jan 18, 2019
by
Delaigue Olivier
Browse files
v1.1.2.30 CLEAN: wrong message error fixed in CreateRunOptions #5422
parent
26ab68c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
7a8448ca
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.1.2.
29
Version: 1.1.2.
30
Date: 2019-01-18
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
7a8448ca
...
...
@@ -13,7 +13,7 @@ output:
### 1.1.2.
29
Release Notes (2019-01-18)
### 1.1.2.
30
Release Notes (2019-01-18)
...
...
R/CreateRunOptions.R
View file @
7a8448ca
...
...
@@ -135,15 +135,15 @@ CreateRunOptions <- function(FUN_MOD, InputsModel, IndPeriod_WarmUp = NULL, IndP
}
if
(
!
is.null
(
IndPeriod_WarmUp
))
{
if
(
!
is.vector
(
IndPeriod_WarmUp
))
{
stop
(
"IndPeriod_
Run
must be a vector of numeric values \n"
)
stop
(
"
'
IndPeriod_
WarmUp'
must be a vector of numeric values \n"
)
return
(
NULL
)
}
if
(
!
is.numeric
(
IndPeriod_WarmUp
))
{
stop
(
"IndPeriod_
Run
must be a vector of numeric values \n"
)
stop
(
"
'
IndPeriod_
WarmUp'
must be a vector of numeric values \n"
)
return
(
NULL
)
}
if
(
storage.mode
(
IndPeriod_WarmUp
)
!=
"integer"
)
{
stop
(
"IndPeriod_
Run
should be of type integer \n"
)
stop
(
"
'
IndPeriod_
WarmUp'
should be of type integer \n"
)
return
(
NULL
)
}
if
(
identical
(
IndPeriod_WarmUp
,
as.integer
(
0
))
&
verbose
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment