Commit 354a5198 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.2.9.1 BUG: check if FUN_TRANSFO = NULL in CreateCalibOptions

Showing with 5 additions and 3 deletions
+5 -3
Package: airGR Package: airGR
Type: Package Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.2.9.0 Version: 1.2.9.1
Date: 2019-03-12 Date: 2019-03-12
Authors@R: c( Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
...@@ -13,7 +13,7 @@ output: ...@@ -13,7 +13,7 @@ output:
### 1.2.9.0 Release Notes (2019-03-12) ### 1.2.9.1 Release Notes (2019-03-12)
......
...@@ -10,7 +10,9 @@ CreateCalibOptions <- function(FUN_MOD, ...@@ -10,7 +10,9 @@ CreateCalibOptions <- function(FUN_MOD,
FUN_MOD <- match.fun(FUN_MOD) FUN_MOD <- match.fun(FUN_MOD)
FUN_CALIB <- match.fun(FUN_CALIB) FUN_CALIB <- match.fun(FUN_CALIB)
FUN_TRANSFO <- match.fun(FUN_TRANSFO) if(!is.null(FUN_TRANSFO)) {
FUN_TRANSFO <- match.fun(FUN_TRANSFO)
}
##check_FUN_MOD ##check_FUN_MOD
BOOL <- FALSE BOOL <- FALSE
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment