Commit cd0b1af4 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

docs(vignette): reset 'eval' to 'include' in 'V03_param_sets_GR4J' chuncks

Refs: #154, ca75cb08
2 merge requests!98Resolve "Error in vignettes\V03_param_sets_GR4J.Rmd",!88refactor: fix to pass CRAN checks
Pipeline #51048 passed with stage
in 5 minutes and 1 second
Showing with 3 additions and 3 deletions
+3 -3
...@@ -69,7 +69,7 @@ The calibration period has been defined from **1990-01-01** to **1990-02-28**, a ...@@ -69,7 +69,7 @@ The calibration period has been defined from **1990-01-01** to **1990-02-28**, a
As a consequence, in this example the calibration period is very short, less than 6 months. As a consequence, in this example the calibration period is very short, less than 6 months.
```{r, warning=FALSE, eval=TRUE} ```{r, warning=FALSE, include=TRUE}
## preparation of the InputsModel object ## preparation of the InputsModel object
InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR4J, DatesR = BasinObs$DatesR, InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR4J, DatesR = BasinObs$DatesR,
Precip = BasinObs$P, PotEvap = BasinObs$E) Precip = BasinObs$P, PotEvap = BasinObs$E)
...@@ -157,7 +157,7 @@ By default, the predefined grid used by the `Calibration_Michel()` function cont ...@@ -157,7 +157,7 @@ By default, the predefined grid used by the `Calibration_Michel()` function cont
CalibOptions <- CreateCalibOptions(FUN_MOD = RunModel_GR4J, FUN_CALIB = Calibration_Michel) CalibOptions <- CreateCalibOptions(FUN_MOD = RunModel_GR4J, FUN_CALIB = Calibration_Michel)
``` ```
```{r, warning=FALSE, message=FALSE, eval=FALSE} ```{r, warning=FALSE, message=FALSE, include=FALSE}
## calibration ## calibration
OutputsCalib <- Calibration(InputsModel = InputsModel, RunOptions = RunOptions_Cal, OutputsCalib <- Calibration(InputsModel = InputsModel, RunOptions = RunOptions_Cal,
InputsCrit = InputsCrit_Cal, CalibOptions = CalibOptions, InputsCrit = InputsCrit_Cal, CalibOptions = CalibOptions,
...@@ -194,7 +194,7 @@ CalibOptions <- CreateCalibOptions(FUN_MOD = RunModel_GR4J, FUN_CALIB = Calibrat ...@@ -194,7 +194,7 @@ CalibOptions <- CreateCalibOptions(FUN_MOD = RunModel_GR4J, FUN_CALIB = Calibrat
StartParamList = Param_Sets_GR4J) StartParamList = Param_Sets_GR4J)
``` ```
```{r, warning=FALSE, message=FALSE, eval=FALSE} ```{r, warning=FALSE, message=FALSE, include=FALSE}
## calibration ## calibration
OutputsCalib <- Calibration(InputsModel = InputsModel, RunOptions = RunOptions_Cal, OutputsCalib <- Calibration(InputsModel = InputsModel, RunOptions = RunOptions_Cal,
InputsCrit = InputsCrit_Cal, CalibOptions = CalibOptions, InputsCrit = InputsCrit_Cal, CalibOptions = CalibOptions,
......
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