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
dfad6ac5
Commit
dfad6ac5
authored
Mar 06, 2019
by
Delaigue Olivier
Browse files
v1.2.7.9 CLEAN: warning msg removed in TransfoParam_CemaNeige* if ParamIn is a vector
parent
d9e330c4
Changes
4
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
dfad6ac5
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.2.7.
8
Version: 1.2.7.
9
Date: 2019-03-06
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
dfad6ac5
...
...
@@ -13,7 +13,7 @@ output:
### 1.2.7.
8
Release Notes (2019-03-06)
### 1.2.7.
9
Release Notes (2019-03-06)
...
...
R/TransfoParam_CemaNeige.R
View file @
dfad6ac5
...
...
@@ -8,7 +8,6 @@ TransfoParam_CemaNeige <- function(ParamIn, Direction) {
Bool
<-
is.vector
(
ParamIn
)
if
(
Bool
)
{
ParamIn
<-
matrix
(
ParamIn
,
nrow
=
1
)
warning
(
"'ParamIn' automatically convert to 'matrix'"
)
}
if
(
!
inherits
(
ParamIn
,
"matrix"
))
{
stop
(
"'ParamIn' must be of class 'matrix'"
)
...
...
R/TransfoParam_CemaNeigeHyst.R
View file @
dfad6ac5
...
...
@@ -8,7 +8,6 @@ TransfoParam_CemaNeigeHyst <- function(ParamIn, Direction) {
Bool
<-
is.vector
(
ParamIn
)
if
(
Bool
)
{
ParamIn
<-
matrix
(
ParamIn
,
nrow
=
1
)
warning
(
"'ParamIn' automatically convert to 'matrix'"
)
}
if
(
!
inherits
(
ParamIn
,
"matrix"
))
{
stop
(
"'ParamIn' must be of class 'matrix'"
)
...
...
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