Last updated on 2025-07-08 12:50:13 CEST.
Package | ERROR | OK |
---|---|---|
citmre | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/71s]
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
is.response(x) is not TRUE
is.response(x) is not TRUE
is.response(x) is not TRUE
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 12 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-citmre.R:10:3'): Checking output type when log_return is TRUE ──
rmre_data(frequency = 365, log_return = TRUE) 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'.
── Failure ('test-citmre.R:13:3'): Checking output type when log_return is TRUE ──
rmre_data(frequency = 2, log_return = TRUE) has type 'NULL', not 'double'.
── Failure ('test-citmre.R:32:3'): Checking output null values ─────────────────
all(...) is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang