Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
HYCAR-Hydro
airGR
Commits
6ebfc0e5
Commit
6ebfc0e5
authored
Apr 09, 2020
by
Delaigue Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v1.4.3.83 CLEAN: text revisions in error messages of SeriesAggreg function
parent
aa400805
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
DESCRIPTION
DESCRIPTION
+2
-2
NEWS.md
NEWS.md
+1
-1
R/SeriesAggreg.R
R/SeriesAggreg.R
+2
-2
No files found.
DESCRIPTION
View file @
6ebfc0e5
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.4.3.8
2
Date: 2020-04-0
8
Version: 1.4.3.8
3
Date: 2020-04-0
9
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 @
6ebfc0e5
...
...
@@ -4,7 +4,7 @@
### 1.4.3.8
2
Release Notes (2020-04-08)
### 1.4.3.8
3
Release Notes (2020-04-08)
#### CRAN-compatibility updates
...
...
R/SeriesAggreg.R
View file @
6ebfc0e5
...
...
@@ -9,10 +9,10 @@ SeriesAggreg <- function(TabSeries,
##check_TabSeries
if
(
!
is.data.frame
(
TabSeries
))
{
stop
(
"'TabSeries' must be a data.frame containing the dates and data to be
conver
ted"
)
stop
(
"'TabSeries' must be a data.frame containing the dates and data to be
aggrega
ted"
)
}
if
(
ncol
(
TabSeries
)
<
2
)
{
stop
(
"'TabSeries' must contain at least two columns (including the co
u
lmn of dates)"
)
stop
(
"'TabSeries' must contain at least two columns (including the col
u
mn of dates)"
)
}
##check_TimeFormat
if
(
!
any
(
class
(
TabSeries
[,
1
])
%in%
"POSIXt"
))
{
...
...
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