CRAN Package Check Results for Maintainer ‘Alberto Pallotta <pallottaalberto at gmail.com>’

Last updated on 2025-10-25 09:50:10 CEST.

Package ERROR OK
PortfolioTesteR 3 10

Package PortfolioTesteR

Current CRAN status: ERROR: 3, OK: 10

Version: 0.1.3
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library(testthat) + library(PortfolioTesteR) + test_check("PortfolioTesteR") + } else { + message("Skipping tests: 'testthat' not installed") + } [ FAIL 1 | WARN 0 | SKIP 3 | PASS 55 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-optimization.R:2:3', 'test-optimization.R:46:3', 'test-walk-forward.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ml-helpers.R:92:3'): backtest invariants hold on active dates (smoke, linear) ── Error in `.roll_align_common(c(features_list, list(label)))`: No common dates across panels. Backtrace: ▆ 1. └─PortfolioTesteR::ml_backtest(...) at test-ml-helpers.R:92:3 2. └─PortfolioTesteR::roll_fit_predict(...) 3. └─PortfolioTesteR:::.roll_align_common(c(features_list, list(label))) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 55 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.1.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Getting_Started_Advanced.Rmd’ using rmarkdown Quitting from Getting_Started_Advanced.Rmd:87-111 [baseline_pooled] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `.roll_align_common()`: ! No common dates across panels. --- Backtrace: ▆ 1. └─PortfolioTesteR::ml_backtest(...) 2. └─PortfolioTesteR::roll_fit_predict(...) 3. └─PortfolioTesteR:::.roll_align_common(c(features_list, list(label))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Getting_Started_Advanced.Rmd' failed with diagnostics: No common dates across panels. --- failed re-building ‘Getting_Started_Advanced.Rmd’ --- re-building ‘getting-started.Rmd’ using rmarkdown --- finished re-building ‘getting-started.Rmd’ --- re-building ‘optimization-walkforward.Rmd’ using rmarkdown --- finished re-building ‘optimization-walkforward.Rmd’ SUMMARY: processing the following file failed: ‘Getting_Started_Advanced.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.1.3
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library(testthat) + library(PortfolioTesteR) + test_check("PortfolioTesteR") + } else { + message("Skipping tests: 'testthat' not installed") + } [ FAIL 1 | WARN 0 | SKIP 3 | PASS 55 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-optimization.R:2:3', 'test-optimization.R:46:3', 'test-walk-forward.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ml-helpers.R:92:3'): backtest invariants hold on active dates (smoke, linear) ── Error in `.roll_align_common(c(features_list, list(label)))`: No common dates across panels. Backtrace: ▆ 1. └─PortfolioTesteR::ml_backtest(...) at test-ml-helpers.R:92:3 2. └─PortfolioTesteR::roll_fit_predict(...) 3. └─PortfolioTesteR:::.roll_align_common(c(features_list, list(label))) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 55 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64

Version: 0.1.3
Check: tests
Result: ERROR Running 'testthat.R' [8s] Running the tests in 'tests/testthat.R' failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library(testthat) + library(PortfolioTesteR) + test_check("PortfolioTesteR") + } else { + message("Skipping tests: 'testthat' not installed") + } [ FAIL 1 | WARN 0 | SKIP 3 | PASS 55 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-optimization.R:2:3', 'test-optimization.R:46:3', 'test-walk-forward.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ml-helpers.R:92:3'): backtest invariants hold on active dates (smoke, linear) ── Error in `.roll_align_common(c(features_list, list(label)))`: No common dates across panels. Backtrace: ▆ 1. └─PortfolioTesteR::ml_backtest(...) at test-ml-helpers.R:92:3 2. └─PortfolioTesteR::roll_fit_predict(...) 3. └─PortfolioTesteR:::.roll_align_common(c(features_list, list(label))) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 55 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64