Last updated on 2026-02-02 16:49:51 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-fedora-clang | 1.0.0 | 8.00 | 473.29 | 481.29 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 8.00 | 410.57 | 418.57 | OK | |
| r-release-macos-arm64 | 1.0.0 | ERROR | ||||
| r-release-macos-x86_64 | 1.0.0 | 4.00 | 342.00 | 346.00 | ERROR | |
| r-oldrel-macos-arm64 | 1.0.0 | 1.00 | 75.00 | 76.00 | ERROR | |
| r-oldrel-macos-x86_64 | 1.0.0 | 4.00 | 246.00 | 250.00 | ERROR |
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [78s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(fluxfixer)
>
> test_check("fluxfixer")
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the ED method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the ED method finished
--- dTmax calculation by the PD and ED methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD and ED methods finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the MW method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the DR method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the DR method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the MW and DR methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW and DR methods finished
Zero-flow condition estimation started
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax calculation by the PD and ED methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD and ED methods finished
--- dTmax calculation by the MW and DR methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW and DR methods finished
--- dTmax time series aggregation started
--- dTmax time series aggregation finished
Zero-flow condition estimation finished
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.1155032912, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.1157711388, Hyperparameter set: [3, 5, 0.1]
Random forest outlier detection started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.116118315, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.1164037447, Hyperparameter set: [3, 5, 0.1]
--- Optimal hyperparameter set: [2, 5, 0.1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest outlier detection finished
Random forest-based gap-filling started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.1176580164, Hyperparameter set: [2, 5, 1]
--- MSE: 0.1187078861, Hyperparameter set: [3, 5, 1]
--- Optimal hyperparameter set: [2, 5, 1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest-based gap-filling finished
Saving _problems/test-remove_statistical_outlier-32.R
Z-score outlier detection started
--- 5 Z-score outliers were detected
--- 1 Z-score outlier was detected
--- No Z-score outlier was detected
Z-score outlier detection finished
Time series retrieval started
--- Signal damping correction was not applied
--- Detrending was not applied
Time series retrieval finished
*** Fluxfixer started running ***
Manual error value removal was not applied
Absolute limits test finished
Short-term drift correction finished
High frequency noise filtering was not applied
Z-score outlier detection started
--- 4 Z-score outliers were detected
--- No Z-score outlier was detected
Z-score outlier detection finished
Random forest outlier detection started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.0738704162, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.0728236193, Hyperparameter set: [3, 5, 0.1]
--- MSE: 0.0722613642, Hyperparameter set: [4, 5, 0.1]
--- MSE: 0.0723258816, Hyperparameter set: [5, 5, 0.1]
--- MSE: 0.0727737792, Hyperparameter set: [6, 5, 0.1]
--- Optimal hyperparameter set: [4, 5, 0.1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest outlier detection finished
Reference value definition started
--- Reference average of target time series: 11.4773826234913
--- Reference standard deviation of target time series: 1.66431731873025
Reference value definition finished
Random forest-based gap-filling started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.0321570222, Hyperparameter set: [2, 5, 1]
--- MSE: 0.0323715708, Hyperparameter set: [3, 5, 1]
--- MSE: 0.0327464067, Hyperparameter set: [4, 5, 1]
--- MSE: 0.0327651185, Hyperparameter set: [5, 5, 1]
--- MSE: 0.0332510679, Hyperparameter set: [6, 5, 1]
--- Optimal hyperparameter set: [2, 5, 1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest-based gap-filling finished
Time series retrieval started
--- Signal damping correction was not applied
--- Detrending finished
Time series retrieval finished
Quality-control flag determination finished
Zero-flow condition estimation started
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax time series aggregation started
--- dTmax time series aggregation finished
Zero-flow condition estimation finished
Fd calculation process started
--- Heartwood correction was not applied
--- Fd calculation by the SP method finished
Fd calculation process finished
*** Fluxfixer finished running successfully ***
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-remove_statistical_outlier.R:32:3'): modifying short-term drifts works ──
Expected `abs(corrected[101] - 1)` < 0.1.
Actual comparison: 1000.0 >= 0.1
Difference: 999.9 >= 0
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [198s/246s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(fluxfixer)
>
> test_check("fluxfixer")
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the ED method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the ED method finished
--- dTmax calculation by the PD and ED methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD and ED methods finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the MW method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the DR method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the DR method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the MW and DR methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW and DR methods finished
Zero-flow condition estimation started
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax calculation by the PD and ED methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD and ED methods finished
--- dTmax calculation by the MW and DR methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW and DR methods finished
--- dTmax time series aggregation started
--- dTmax time series aggregation finished
Zero-flow condition estimation finished
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.1155032912, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.1157711388, Hyperparameter set: [3, 5, 0.1]
Random forest outlier detection started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.116118315, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.1164037447, Hyperparameter set: [3, 5, 0.1]
--- Optimal hyperparameter set: [2, 5, 0.1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest outlier detection finished
Random forest-based gap-filling started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.1176580164, Hyperparameter set: [2, 5, 1]
--- MSE: 0.1187078861, Hyperparameter set: [3, 5, 1]
--- Optimal hyperparameter set: [2, 5, 1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest-based gap-filling finished
Saving _problems/test-remove_statistical_outlier-30.R
Z-score outlier detection started
--- 5 Z-score outliers were detected
--- 1 Z-score outlier was detected
--- No Z-score outlier was detected
Z-score outlier detection finished
Time series retrieval started
--- Signal damping correction was not applied
--- Detrending was not applied
Time series retrieval finished
*** Fluxfixer started running ***
Manual error value removal was not applied
Absolute limits test finished
Short-term drift correction finished
High frequency noise filtering was not applied
Z-score outlier detection started
--- 4 Z-score outliers were detected
--- No Z-score outlier was detected
Z-score outlier detection finished
Random forest outlier detection started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.0738723153, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.0728156744, Hyperparameter set: [3, 5, 0.1]
--- MSE: 0.0722560085, Hyperparameter set: [4, 5, 0.1]
--- MSE: 0.0722657316, Hyperparameter set: [5, 5, 0.1]
--- MSE: 0.072790208, Hyperparameter set: [6, 5, 0.1]
--- Optimal hyperparameter set: [4, 5, 0.1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest outlier detection finished
Reference value definition started
--- Reference average of target time series: 11.4773826234913
--- Reference standard deviation of target time series: 1.66431731873025
Reference value definition finished
Random forest-based gap-filling started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.0320510997, Hyperparameter set: [2, 5, 1]
--- MSE: 0.0322984728, Hyperparameter set: [3, 5, 1]
--- MSE: 0.0323055008, Hyperparameter set: [4, 5, 1]
--- MSE: 0.0325841009, Hyperparameter set: [5, 5, 1]
--- MSE: 0.0330064573, Hyperparameter set: [6, 5, 1]
--- Optimal hyperparameter set: [2, 5, 1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest-based gap-filling finished
Time series retrieval started
--- Signal damping correction was not applied
--- Detrending finished
Time series retrieval finished
Quality-control flag determination finished
Zero-flow condition estimation started
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax time series aggregation started
--- dTmax time series aggregation finished
Zero-flow condition estimation finished
Fd calculation process started
--- Heartwood correction was not applied
--- Fd calculation by the SP method finished
Fd calculation process finished
*** Fluxfixer finished running successfully ***
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-remove_statistical_outlier.R:28:3'): modifying short-term drifts works ──
Error in `data.frame(time = vctr_time, dT = vctr_target, dT_mod = vctr_target)`: arguments imply differing number of rows: 299, 300
Backtrace:
▆
1. └─fluxfixer::modify_short_drift(...) at test-remove_statistical_outlier.R:28:3
2. └─base::data.frame(time = vctr_time, dT = vctr_target, dT_mod = vctr_target)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [78s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(fluxfixer)
>
> test_check("fluxfixer")
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the ED method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the ED method finished
--- dTmax calculation by the PD and ED methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD and ED methods finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the MW method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the DR method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the DR method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the MW and DR methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW and DR methods finished
Zero-flow condition estimation started
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax calculation by the PD and ED methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD and ED methods finished
--- dTmax calculation by the MW and DR methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW and DR methods finished
--- dTmax time series aggregation started
--- dTmax time series aggregation finished
Zero-flow condition estimation finished
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.1155032912, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.1157711388, Hyperparameter set: [3, 5, 0.1]
Random forest outlier detection started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.116118315, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.1164037447, Hyperparameter set: [3, 5, 0.1]
--- Optimal hyperparameter set: [2, 5, 0.1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest outlier detection finished
Random forest-based gap-filling started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.1176580164, Hyperparameter set: [2, 5, 1]
--- MSE: 0.1187078861, Hyperparameter set: [3, 5, 1]
--- Optimal hyperparameter set: [2, 5, 1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest-based gap-filling finished
Saving _problems/test-remove_statistical_outlier-32.R
Z-score outlier detection started
--- 5 Z-score outliers were detected
--- 1 Z-score outlier was detected
--- No Z-score outlier was detected
Z-score outlier detection finished
Time series retrieval started
--- Signal damping correction was not applied
--- Detrending was not applied
Time series retrieval finished
*** Fluxfixer started running ***
Manual error value removal was not applied
Absolute limits test finished
Short-term drift correction finished
High frequency noise filtering was not applied
Z-score outlier detection started
--- 4 Z-score outliers were detected
--- No Z-score outlier was detected
Z-score outlier detection finished
Random forest outlier detection started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.0738599585, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.0728341783, Hyperparameter set: [3, 5, 0.1]
--- MSE: 0.0722721358, Hyperparameter set: [4, 5, 0.1]
--- MSE: 0.0723118997, Hyperparameter set: [5, 5, 0.1]
--- MSE: 0.0727282818, Hyperparameter set: [6, 5, 0.1]
--- Optimal hyperparameter set: [4, 5, 0.1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest outlier detection finished
Reference value definition started
--- Reference average of target time series: 11.4773826234913
--- Reference standard deviation of target time series: 1.66431731873025
Reference value definition finished
Random forest-based gap-filling started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.0321590219, Hyperparameter set: [2, 5, 1]
--- MSE: 0.0319488318, Hyperparameter set: [3, 5, 1]
--- MSE: 0.0322191353, Hyperparameter set: [4, 5, 1]
--- MSE: 0.0324191707, Hyperparameter set: [5, 5, 1]
--- MSE: 0.032595063, Hyperparameter set: [6, 5, 1]
--- Optimal hyperparameter set: [3, 5, 1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest-based gap-filling finished
Time series retrieval started
--- Signal damping correction was not applied
--- Detrending finished
Time series retrieval finished
Quality-control flag determination finished
Zero-flow condition estimation started
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax time series aggregation started
--- dTmax time series aggregation finished
Zero-flow condition estimation finished
Fd calculation process started
--- Heartwood correction was not applied
--- Fd calculation by the SP method finished
Fd calculation process finished
*** Fluxfixer finished running successfully ***
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-remove_statistical_outlier.R:32:3'): modifying short-term drifts works ──
Expected `abs(corrected[101] - 1)` < 0.1.
Actual comparison: 1000.0 >= 0.1
Difference: 999.9 >= 0
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [193s/173s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(fluxfixer)
>
> test_check("fluxfixer")
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the ED method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the ED method finished
--- dTmax calculation by the PD and ED methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD and ED methods finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the MW method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the DR method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the DR method finished
--- dTmax calculation by the PD method started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD method finished
--- dTmax calculation by the MW and DR methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW and DR methods finished
Zero-flow condition estimation started
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax calculation by the PD and ED methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the PD and ED methods finished
--- dTmax calculation by the MW and DR methods started
|
| | 0%
|
|== | 3%
|
|===== | 7%
|
|======= | 10%
|
|========= | 13%
|
|============ | 17%
|
|============== | 20%
|
|================ | 23%
|
|=================== | 27%
|
|===================== | 30%
|
|======================= | 33%
|
|========================== | 37%
|
|============================ | 40%
|
|============================== | 43%
|
|================================= | 47%
|
|=================================== | 50%
|
|===================================== | 53%
|
|======================================== | 57%
|
|========================================== | 60%
|
|============================================ | 63%
|
|=============================================== | 67%
|
|================================================= | 70%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================== | 83%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|==================================================================== | 97%
|
|======================================================================| 100%
--- dTmax calculation by the MW and DR methods finished
--- dTmax time series aggregation started
--- dTmax time series aggregation finished
Zero-flow condition estimation finished
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.1155032912, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.1157711388, Hyperparameter set: [3, 5, 0.1]
Random forest outlier detection started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.116118315, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.1164037447, Hyperparameter set: [3, 5, 0.1]
--- Optimal hyperparameter set: [2, 5, 0.1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest outlier detection finished
Random forest-based gap-filling started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.1176580164, Hyperparameter set: [2, 5, 1]
--- MSE: 0.1187078861, Hyperparameter set: [3, 5, 1]
--- Optimal hyperparameter set: [2, 5, 1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest-based gap-filling finished
Saving _problems/test-remove_statistical_outlier-30.R
Z-score outlier detection started
--- 5 Z-score outliers were detected
--- 1 Z-score outlier was detected
--- No Z-score outlier was detected
Z-score outlier detection finished
Time series retrieval started
--- Signal damping correction was not applied
--- Detrending was not applied
Time series retrieval finished
*** Fluxfixer started running ***
Manual error value removal was not applied
Absolute limits test finished
Short-term drift correction finished
High frequency noise filtering was not applied
Z-score outlier detection started
--- 4 Z-score outliers were detected
--- No Z-score outlier was detected
Z-score outlier detection finished
Random forest outlier detection started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.0738723153, Hyperparameter set: [2, 5, 0.1]
--- MSE: 0.0728156744, Hyperparameter set: [3, 5, 0.1]
--- MSE: 0.0722560085, Hyperparameter set: [4, 5, 0.1]
--- MSE: 0.0722657316, Hyperparameter set: [5, 5, 0.1]
--- MSE: 0.072790208, Hyperparameter set: [6, 5, 0.1]
--- Optimal hyperparameter set: [4, 5, 0.1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest outlier detection finished
Reference value definition started
--- Reference average of target time series: 11.4773826234913
--- Reference standard deviation of target time series: 1.66431731873025
Reference value definition finished
Random forest-based gap-filling started
--- Hyperparameter optimization using grid search started
--- MSE: Mean square error for out-of-bag data
--- Hyperparameter set: [m_try, min_nodesize, subsample]
--- MSE: 0.0320510997, Hyperparameter set: [2, 5, 1]
--- MSE: 0.0322984728, Hyperparameter set: [3, 5, 1]
--- MSE: 0.0323055008, Hyperparameter set: [4, 5, 1]
--- MSE: 0.0325841009, Hyperparameter set: [5, 5, 1]
--- MSE: 0.0330064573, Hyperparameter set: [6, 5, 1]
--- Optimal hyperparameter set: [2, 5, 1]
--- Hyperparameter optimization using grid search finished
--- Random forest construction started
--- Random forest construction finished
Random forest-based gap-filling finished
Time series retrieval started
--- Signal damping correction was not applied
--- Detrending finished
Time series retrieval finished
Quality-control flag determination finished
Zero-flow condition estimation started
--- dTmax calculation by the SP method started
--- dTmax calculation by the SP method finished
--- dTmax time series aggregation started
--- dTmax time series aggregation finished
Zero-flow condition estimation finished
Fd calculation process started
--- Heartwood correction was not applied
--- Fd calculation by the SP method finished
Fd calculation process finished
*** Fluxfixer finished running successfully ***
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-remove_statistical_outlier.R:28:3'): modifying short-term drifts works ──
Error in `data.frame(time = vctr_time, dT = vctr_target, dT_mod = vctr_target)`: arguments imply differing number of rows: 299, 300
Backtrace:
▆
1. └─fluxfixer::modify_short_drift(...) at test-remove_statistical_outlier.R:28:3
2. └─base::data.frame(time = vctr_time, dT = vctr_target, dT_mod = vctr_target)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-x86_64