Last updated on 2025-09-19 12:51:03 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/98s]
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
Error: 'start_date' should be in 'year-month-day' format
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
is.response(x) is not TRUE
incorrect number of dimensions
[ FAIL 7 | WARN 2 | SKIP 0 | PASS 9 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-citmre.R:3:3'): Checking output type for all frequencies ─────
rmre_data(frequency = 365) has type 'NULL', not 'double'.
── Failure ('test-citmre.R:5:3'): Checking output type for all frequencies ─────
rmre_data(frequency = 4) has type 'NULL', not 'double'.
── 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:29:3'): Checking output null values ─────────────────
all(...) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-citmre.R:30:3'): Checking output null values ─────────────────
all(...) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-citmre.R:32:3'): Checking output null values ─────────────────
all(...) is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 7 | WARN 2 | SKIP 0 | PASS 9 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘citmre.Rmd’ using rmarkdown
Quitting from citmre.Rmd:41-45 [plot_1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `plot.window()`:
! need finite 'xlim' values
---
Backtrace:
▆
1. ├─base::plot(rmre_data())
2. └─graphics::plot.default(rmre_data())
3. └─graphics (local) localWindow(xlim, ylim, log, asp, ...)
4. └─graphics::plot.window(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'citmre.Rmd' failed with diagnostics:
need finite 'xlim' values
--- failed re-building ‘citmre.Rmd’
SUMMARY: processing the following file failed:
‘citmre.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang