CRAN Package Check Results for Package chopper

Last updated on 2025-07-30 11:52:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 15.68 162.23 177.91 OK
r-devel-linux-x86_64-debian-gcc 1.0 11.64 100.53 112.17 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 278.69 OK
r-devel-linux-x86_64-fedora-gcc 1.0 267.48 OK
r-devel-windows-x86_64 1.0 18.00 180.00 198.00 OK
r-patched-linux-x86_64 1.0 15.66 151.34 167.00 OK
r-release-linux-x86_64 1.0 13.06 153.33 166.39 OK
r-release-macos-arm64 1.0 89.00 OK
r-release-macos-x86_64 1.0 160.00 OK
r-release-windows-x86_64 1.0 17.00 179.00 196.00 OK
r-oldrel-macos-arm64 1.0 93.00 OK
r-oldrel-macos-x86_64 1.0 157.00 OK
r-oldrel-windows-x86_64 1.0 23.00 237.00 260.00 OK

Check Details

Version: 1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/37s] 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(chopper) > > test_check("chopper") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 13 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-main.R:4:3'): tbats_predictor works correctly on TSLA.Close ──── Error in `serverSocket(port = port)`: creation of server socket failed: port 11573 cannot be opened Backtrace: ▆ 1. └─chopper:::tbats_predictor(ts_set$TSLA.Close, h = 3) at test-main.R:4:3 2. └─forecast::tbats(ts) 3. └─forecast::bats(...) 4. └─parallel::makeCluster(num.cores) 5. └─parallel::makePSOCKcluster(names = spec, ...) 6. └─base::serverSocket(port = port) ── Error ('test-main.R:43:3'): chopper handles longer horizon on TSLA.Close ──── <purrr_error_indexed/rlang_error/error/condition> Error in `map(s_points, ~product_of_experts(ts[.x:n_length], horizon, n_samples, alt_mode, ts))`: i In index: 1. Caused by error in `serverSocket()`: ! creation of server socket failed: port 11573 cannot be opened Backtrace: ▆ 1. ├─chopper::chopper(ts_set$TSLA.Close, horizon = 10, n_samples = 100) at test-main.R:43:3 2. │ └─purrr::map(...) 3. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 4. │ ├─purrr:::with_indexed_errors(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ ├─purrr:::call_with_cleanup(...) 7. │ └─chopper (local) .f(.x[[i]], ...) 8. │ └─chopper:::product_of_experts(...) 9. │ └─chopper:::tbats_predictor(ts, horizon, alt_mode) 10. │ └─forecast::tbats(ts) 11. │ └─forecast::bats(...) 12. │ └─parallel::makeCluster(num.cores) 13. │ └─parallel::makePSOCKcluster(names = spec, ...) 14. │ └─base::serverSocket(port = port) 15. └─base::.handleSimpleError(...) 16. └─purrr (local) h(simpleError(msg, call)) 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 13 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc