Last updated on 2025-11-28 09:50:49 CET.
| Package | ERROR | OK |
|---|---|---|
| citmre | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/102s]
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(citmre)
>
> test_check("citmre")
is.response(x) is not TRUE
Saving _problems/test-citmre-3.R
is.response(x) is not TRUE
Saving _problems/test-citmre-4.R
is.response(x) is not TRUE
Saving _problems/test-citmre-5.R
is.response(x) is not TRUE
Saving _problems/test-citmre-6.R
is.response(x) is not TRUE
Saving _problems/test-citmre-10.R
is.response(x) is not TRUE
Saving _problems/test-citmre-11.R
is.response(x) is not TRUE
Saving _problems/test-citmre-12.R
is.response(x) is not TRUE
Saving _problems/test-citmre-13.R
is.response(x) is not TRUE
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 8 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-citmre.R:3:3'): Checking output type for all frequencies ─────
Expected `rmre_data(frequency = 365)` to have type "double".
Actual type: "NULL"
── Failure ('test-citmre.R:4:3'): Checking output type for all frequencies ─────
Expected `rmre_data(frequency = 12)` to have type "double".
Actual type: "NULL"
── Failure ('test-citmre.R:5:3'): Checking output type for all frequencies ─────
Expected `rmre_data(frequency = 4)` to have type "double".
Actual type: "NULL"
── Failure ('test-citmre.R:6:3'): Checking output type for all frequencies ─────
Expected `rmre_data(frequency = 2)` to have type "double".
Actual type: "NULL"
── Failure ('test-citmre.R:10:3'): Checking output type when log_return is TRUE ──
Expected `rmre_data(frequency = 365, log_return = TRUE)` to have type "double".
Actual type: "NULL"
── Failure ('test-citmre.R:11:3'): Checking output type when log_return is TRUE ──
Expected `rmre_data(frequency = 12, log_return = TRUE)` to have type "double".
Actual type: "NULL"
── Failure ('test-citmre.R:12:3'): Checking output type when log_return is TRUE ──
Expected `rmre_data(frequency = 4, log_return = TRUE)` to have type "double".
Actual type: "NULL"
── Failure ('test-citmre.R:13:3'): Checking output type when log_return is TRUE ──
Expected `rmre_data(frequency = 2, log_return = TRUE)` to have type "double".
Actual type: "NULL"
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 8 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [47s]
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(citmre)
>
> test_check("citmre")
is.response(x) is not TRUE
is.response(x) is not TRUE
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-citmre.R:4:3'): Checking output type for all frequencies ─────
rmre_data(frequency = 12) has type 'NULL', not 'double'.
── Failure ('test-citmre.R:11:3'): Checking output type when log_return is TRUE ──
rmre_data(frequency = 12, log_return = TRUE) has type 'NULL', not 'double'.
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64