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
41f6d1e0
Commit
41f6d1e0
authored
May 06, 2020
by
Delaigue Olivier
Committed by
Dorchies David
Nov 20, 2020
Browse files
v1.4.8.8 refactor: error message update with the new name of the function in .AggregConvertFun
#41
parent
4f38cc7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
41f6d1e0
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.4.8.
7
Date: 2020-05-0
4
Version: 1.4.8.
8
Date: 2020-05-0
6
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"),
...
...
NEWS.md
View file @
41f6d1e0
...
...
@@ -4,7 +4,7 @@
### 1.4.8.
7
Release Notes (2020-05-04)
### 1.4.8.
8
Release Notes (2020-05-04)
#### New features
...
...
R/Utils.R
View file @
41f6d1e0
...
...
@@ -23,7 +23,7 @@
ConvertFun
=
c
(
"sum"
,
"sum"
,
"sum"
,
"mean"
,
"sum"
,
"sum"
,
"sum"
,
"sum"
,
"sum"
,
"sum"
,
"sum"
,
"mean"
,
"sum"
,
"sum"
,
"sum"
,
"sum"
,
"sum"
,
"sum"
,
"mean"
,
"sum"
,
"sum"
,
"sum"
,
"sum"
,
"mean"
,
"mean"
,
"mean"
,
"sum"
,
"sum"
,
"sum"
,
"mean"
,
"mean"
,
"mean"
,
"sum"
,
"mean"
,
"sum"
)
)
if
(
length
(
Table
$
Outputs
)
!=
length
(
Table
$
ConvertFun
))
{
stop
(
"'.Aggreg
Outputs
' is out of order"
)
stop
(
"'.Aggreg
ConvertFun
' is out of order"
)
}
match.arg
(
Outputs
,
choices
=
Table
$
Outputs
,
several.ok
=
TRUE
)
res
<-
sapply
(
Outputs
,
function
(
iOutputs
)
{
...
...
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