Last updated on 2024-11-23 09:49:42 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
airGRiwrm | 1 | 12 | |
hubeau | 13 | ||
Rthingsboard | 2 | 11 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.7.0
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [33s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(airGRiwrm)
Loading required package: airGR
Attaching package: 'airGRiwrm'
The following objects are masked from 'package:airGR':
Calibration, CreateCalibOptions, CreateInputsCrit,
CreateInputsModel, CreateRunOptions, RunModel
>
> test_check("airGRiwrm")
[ FAIL 2 | WARN 0 | SKIP 5 | PASS 231 ]
══ Skipped tests (5) ═══════════════════════════════════════════════════════════
• On CRAN (5): 'test-Calibration.R:42:3', 'test-Calibration.R:62:1',
'test-RunModel.Supervisor.R:1:1', 'test-RunModel_Reservoir.R:14:1',
'test-RunModel_Ungauged.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CreateInputsCrit.R:125:3'): Lavenne criterion: not upstream a priori nodes are allow if processed before #156 ──
Error in `cbind(InputsCrit$BoolCrit, BoolCrit_Actual)`: cannot get data pointer of 'NULL' objects
Backtrace:
▆
1. └─airGRiwrm:::runCalibration(...) at test-CreateInputsCrit.R:125:3
2. ├─airGRiwrm::Calibration(InputsModel, RunOptions, InputsCrit, CalibOptions) at tests/testthat/helper_Calibration.R:37:5
3. └─airGRiwrm:::Calibration.GRiwrmInputsModel(...)
4. ├─airGRiwrm::Calibration(...)
5. └─airGRiwrm:::Calibration.InputsModel(...)
6. └─airGR::Calibration(...)
7. └─airGR (local) FUN_CALIB(...)
8. └─base::cbind(InputsCrit$BoolCrit, BoolCrit_Actual)
── Error ('test-CreateInputsCrit.R:156:3'): Lavenne criterion: redefined calibration order works #157 ──
Error in `cbind(InputsCrit$BoolCrit, BoolCrit_Actual)`: cannot get data pointer of 'NULL' objects
Backtrace:
▆
1. └─airGRiwrm:::runCalibration(...) at test-CreateInputsCrit.R:156:3
2. ├─airGRiwrm::Calibration(InputsModel, RunOptions, InputsCrit, CalibOptions) at tests/testthat/helper_Calibration.R:37:5
3. └─airGRiwrm:::Calibration.GRiwrmInputsModel(...)
4. ├─airGRiwrm::Calibration(...)
5. └─airGRiwrm:::Calibration.InputsModel(...)
6. └─airGR::Calibration(...)
7. └─airGR (local) FUN_CALIB(...)
8. └─base::cbind(InputsCrit$BoolCrit, BoolCrit_Actual)
[ FAIL 2 | WARN 0 | SKIP 5 | PASS 231 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.7.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘V01_Structure_SD_model.Rmd’ using rmarkdown
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V01_Structure_SD_model_files/figure-html/diagram-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 14499 bytes
Input file size = 14589 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 12708
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 12708
Output IDAT size = 12708 bytes (1791 bytes decrease)
Output file size = 12786 bytes (1803 bytes = 12.36% decrease)
--- finished re-building ‘V01_Structure_SD_model.Rmd’
--- re-building ‘V02_Calibration_SD_model.Rmd’ using rmarkdown
Quitting from lines 135-137 [Calibration] (V02_Calibration_SD_model.Rmd)
Error: processing vignette 'V02_Calibration_SD_model.Rmd' failed with diagnostics:
cannot get data pointer of 'NULL' objects
--- failed re-building ‘V02_Calibration_SD_model.Rmd’
--- re-building ‘V03_Open-loop_influenced_flow.Rmd’ using rmarkdown
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V03_Open-loop_influenced_flow_files/figure-html/diagram-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 14370 bytes
Input file size = 14460 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 12554
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 12554
Output IDAT size = 12554 bytes (1816 bytes decrease)
Output file size = 12632 bytes (1828 bytes = 12.64% decrease)
Quitting from lines 132-135 [Calibration] (V03_Open-loop_influenced_flow.Rmd)
Error: processing vignette 'V03_Open-loop_influenced_flow.Rmd' failed with diagnostics:
cannot get data pointer of 'NULL' objects
--- failed re-building ‘V03_Open-loop_influenced_flow.Rmd’
--- re-building ‘V04_Closed-loop_regulated_withdrawal.Rmd’ using rmarkdown
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V04_Closed-loop_regulated_withdrawal_files/figure-html/griwm-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 19135 bytes
Input file size = 19237 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 16066
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 16066
Output IDAT size = 16066 bytes (3069 bytes decrease)
Output file size = 16144 bytes (3093 bytes = 16.08% decrease)
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V04_Closed-loop_regulated_withdrawal_files/figure-html/unnamed-chunk-4-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 25375 bytes
Input file size = 25489 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20629
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20629
Output IDAT size = 20629 bytes (4746 bytes decrease)
Output file size = 20707 bytes (4782 bytes = 18.76% decrease)
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V04_Closed-loop_regulated_withdrawal_files/figure-html/unnamed-chunk-6-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 21843 bytes
Input file size = 21945 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 18214
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 18214
Output IDAT size = 18214 bytes (3629 bytes decrease)
Output file size = 18292 bytes (3653 bytes = 16.65% decrease)
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V04_Closed-loop_regulated_withdrawal_files/figure-html/unnamed-chunk-15-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 44842 bytes
Input file size = 44980 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 44196
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 42818
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 42818
Output IDAT size = 42818 bytes (2024 bytes decrease)
Output file size = 42896 bytes (2084 bytes = 4.63% decrease)
--- finished re-building ‘V04_Closed-loop_regulated_withdrawal.Rmd’
--- re-building ‘V05_Modelling_ungauged_nodes.Rmd’ using rmarkdown
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V05_Modelling_ungauged_nodes_files/figure-html/network-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 19665 bytes
Input file size = 19767 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 16639
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 16639
Output IDAT size = 16639 bytes (3026 bytes decrease)
Output file size = 16717 bytes (3050 bytes = 15.43% decrease)
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V05_Modelling_ungauged_nodes_files/figure-html/plot_network-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 15804 bytes
Input file size = 15894 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13496
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13496
Output IDAT size = 13496 bytes (2308 bytes decrease)
Output file size = 13574 bytes (2320 bytes = 14.60% decrease)
Quitting from lines 166-168 [Calibration] (V05_Modelling_ungauged_nodes.Rmd)
Error: processing vignette 'V05_Modelling_ungauged_nodes.Rmd' failed with diagnostics:
cannot get data pointer of 'NULL' objects
--- failed re-building ‘V05_Modelling_ungauged_nodes.Rmd’
--- re-building ‘V06_Modelling_regulated_diversion.Rmd’ using rmarkdown
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V06_Modelling_regulated_diversion_files/figure-html/unnamed-chunk-3-1.png
576x391 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 11752 bytes
Input file size = 11842 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9848
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9848
Output IDAT size = 9848 bytes (1904 bytes decrease)
Output file size = 9926 bytes (1916 bytes = 16.18% decrease)
** Processing: /data/gannet/ripley/R/packages/tests-devel/airGRiwrm.Rcheck/vign_test/airGRiwrm/vignettes/V06_Modelling_regulated_diversion_files/figure-html/unnamed-chunk-13-1.png
576x576 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 64865 bytes
Input file size = 65027 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 56384
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 56384
Output IDAT size = 56384 bytes (8481 bytes decrease)
Output file size = 56462 bytes (8565 bytes = 13.17% decrease)
--- finished re-building ‘V06_Modelling_regulated_diversion.Rmd’
--- re-building ‘airGRiwrm.Rmd’ using rmarkdown
--- finished re-building ‘airGRiwrm.Rmd’
SUMMARY: processing the following files failed:
‘V02_Calibration_SD_model.Rmd’ ‘V03_Open-loop_influenced_flow.Rmd’
‘V05_Modelling_ungauged_nodes.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Current CRAN status: OK: 13
Current CRAN status: NOTE: 2, OK: 11
Version: 0.2.7
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘httr’ ‘logger’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc