Last updated on 2025-03-14 09:51:03 CET.
Package | ERROR | OK |
---|---|---|
TempStable | 1 | 14 |
Current CRAN status: ERROR: 1, OK: 14
Version: 0.2.2
Check: tests
Result: ERROR
Running 'testthat.R' [292s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(TempStable)
>
> test_check("TempStable")
---------------- Alpha=1.5 *** DeltaP=1 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min2sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** DeltaP=1 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min1sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.5 *** DeltaP=1 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min1sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.45 *** DeltaP=0.55 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.45 *** DeltaP=0.55 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min2sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Delta=1 *** Lambda=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Delta=1 *** Lambda=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.45 *** Delta=0.55 *** Lambda=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.45 *** Delta=0.55 *** Lambda=1 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min1sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Beta=1 *** Delta=1 *** Lambda=1 *** mu=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Beta=1 *** Delta=1 *** Lambda=1 *** mu=1 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min1sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.55 *** Beta=0.55 *** Delta=1 *** Lambda=1 *** mu=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.5 *** DeltaP=1 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.5 *** DeltaP=1 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.5 *** DeltaP=1 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.5 *** DeltaP=1 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.5 *** DeltaP=1 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.45 *** DeltaP=0.55 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.45 *** DeltaP=0.55 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min1sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Beta=1 *** Delta=1 *** Lambda=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Beta=1 *** Delta=1 *** Lambda=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.45 *** DeltaP=0.55 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Delta=1 *** Lambda=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Delta=1 *** Lambda=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.45 *** Delta=0.55 *** Lambda=1 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min1sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.45 *** Delta=0.55 *** Lambda=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Beta=1 *** Delta=1 *** Lambda=1 *** mu=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.55 *** Beta=0.55 *** Delta=1 *** Lambda=1 *** mu=1 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=0.5 *** Delta=1 *** Lambda=1 ---------------
*** Iter 1/2 *** Estimated Remaining Time: 0h0min6sec. ***
*** Iter 2/2 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.45 *** DeltaP=0.55 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.45 *** DeltaP=0.55 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
---------------- Alpha=1.45 *** DeltaP=0.55 *** DeltaM=1 *** LambdaP=1 *** LambdaM=1 *** mu=0 ---------------
*** Iter 1/1 *** Estimated Remaining Time: 0h0min0sec. ***
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 298 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_MasterEstim.R:34:7'): TemperedEstim_with_CTS_ML_gives_correct_return ──
TestObject@others$counts[["function"]] (`actual`) not equal to 34 (`expected`).
`actual`: 32.0
`expected`: 34.0
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test_MasterEstim.R:8:3
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_equal(...) at test_MasterEstim.R:34:7
── Failure ('test_MasterEstim.R:35:7'): TemperedEstim_with_CTS_ML_gives_correct_return ──
TestObject@others$counts[["gradient"]] (`actual`) not equal to 34 (`expected`).
`actual`: 32.0
`expected`: 34.0
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test_MasterEstim.R:8:3
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_equal(...) at test_MasterEstim.R:35:7
── Failure ('test_MasterEstim.R:41:7'): TemperedEstim_with_CTS_ML_gives_correct_return ──
TestObject@others$message (`actual`) not equal to "CONVERGENCE: NORM OF PROJECTED GRADIENT <= PGTOL" (`expected`).
`actual`: "CONVERGENCE: REL_REDUCTION_OF_F <= FACTR*EPSMCH"
`expected`: "CONVERGENCE: NORM OF PROJECTED GRADIENT <= PGTOL"
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test_MasterEstim.R:8:3
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_equal(TestObject@others$message, "CONVERGENCE: NORM OF PROJECTED GRADIENT <= PGTOL") at test_MasterEstim.R:41:7
── Failure ('test_MasterEstim.R:103:9'): TemperedEstim_with_NTS_ML_gives_correct_return ──
round(TestObject@par[["beta"]], digits = 3) (`actual`) not equal to 1006.673 (`expected`).
`actual`: 955.2
`expected`: 1006.7
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test_MasterEstim.R:92:3
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_equal(...) at test_MasterEstim.R:103:9
── Failure ('test_MasterEstim.R:105:9'): TemperedEstim_with_NTS_ML_gives_correct_return ──
round(TestObject@par[["lambda"]], digits = 3) (`actual`) not equal to 632.232 (`expected`).
`actual`: 600.0
`expected`: 632.2
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test_MasterEstim.R:92:3
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_equal(...) at test_MasterEstim.R:105:9
── Failure ('test_MasterEstim.R:117:7'): TemperedEstim_with_NTS_ML_gives_correct_return ──
TestObject@others$counts[["function"]] (`actual`) not equal to 67 (`expected`).
`actual`: 102.0
`expected`: 67.0
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test_MasterEstim.R:92:3
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_equal(...) at test_MasterEstim.R:117:7
── Failure ('test_MasterEstim.R:118:7'): TemperedEstim_with_NTS_ML_gives_correct_return ──
TestObject@others$counts[["gradient"]] (`actual`) not equal to 67 (`expected`).
`actual`: 102.0
`expected`: 67.0
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test_MasterEstim.R:92:3
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_equal(...) at test_MasterEstim.R:118:7
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 298 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64