CRAN Package Check Results for Package portfolioBacktest

Last updated on 2026-04-15 13:53:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.1 8.53 178.34 186.87 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.1 5.87 119.97 125.84 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.1 14.00 290.31 304.31 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.1 15.00 303.55 318.55 ERROR
r-devel-macos-arm64 0.4.1 2.00 47.00 49.00 OK
r-devel-windows-x86_64 0.4.1 12.00 189.00 201.00 ERROR
r-patched-linux-x86_64 0.4.1 8.62 167.16 175.78 OK
r-release-linux-x86_64 0.4.1 8.23 162.85 171.08 OK
r-release-macos-arm64 0.4.1 OK
r-release-macos-x86_64 0.4.1 5.00 165.00 170.00 OK
r-release-windows-x86_64 0.4.1 10.00 184.00 194.00 ERROR
r-oldrel-macos-arm64 0.4.1 OK
r-oldrel-macos-x86_64 0.4.1 5.00 131.00 136.00 OK
r-oldrel-windows-x86_64 0.4.1 16.00 240.00 256.00 ERROR

Check Details

Version: 0.4.1
Check: tests
Result: ERROR Running ‘testthat.R’ [99s/129s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(portfolioBacktest) > > test_check("portfolioBacktest") Saving _problems/test-portfolioBacktest-73.R Saving _problems/test-portfolioBacktest-74.R Saving _problems/test-portfolioBacktest-85.R Saving _problems/test-portfolioBacktest-86.R Saving _problems/test-portfolioBacktest-88.R Saving _problems/test-portfolioBacktest-111.R Saving _problems/test-portfolioBacktest-112.R [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-portfolioBacktest.R:73:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:74:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:85:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:86:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$GMVP$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight[, 1:2]`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:88:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `cash` to be equivalent to `as.vector(PerfAnal$BOP.Weight[, 3])`. Lengths differ: 80 is not 99 ── Failure ('test-portfolioBacktest.R:111:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$return` to be equivalent to `PerfAnal_next_day$returns`. Numeric: lengths (79, 99) differ ── Failure ('test-portfolioBacktest.R:112:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal_next_day$BOP.Weight`. Numeric: lengths (158, 198) differ [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.1
Check: tests
Result: ERROR Running ‘testthat.R’ [63s/86s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(portfolioBacktest) > > test_check("portfolioBacktest") Saving _problems/test-portfolioBacktest-73.R Saving _problems/test-portfolioBacktest-74.R Saving _problems/test-portfolioBacktest-85.R Saving _problems/test-portfolioBacktest-86.R Saving _problems/test-portfolioBacktest-88.R Saving _problems/test-portfolioBacktest-111.R Saving _problems/test-portfolioBacktest-112.R [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-portfolioBacktest.R:73:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:74:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:85:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:86:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$GMVP$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight[, 1:2]`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:88:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `cash` to be equivalent to `as.vector(PerfAnal$BOP.Weight[, 3])`. Lengths differ: 80 is not 99 ── Failure ('test-portfolioBacktest.R:111:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$return` to be equivalent to `PerfAnal_next_day$returns`. Numeric: lengths (79, 99) differ ── Failure ('test-portfolioBacktest.R:112:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal_next_day$BOP.Weight`. Numeric: lengths (158, 198) differ [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.1
Check: tests
Result: ERROR Running ‘testthat.R’ [163s/428s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(portfolioBacktest) > > test_check("portfolioBacktest") Saving _problems/test-portfolioBacktest-73.R Saving _problems/test-portfolioBacktest-74.R Saving _problems/test-portfolioBacktest-85.R Saving _problems/test-portfolioBacktest-86.R Saving _problems/test-portfolioBacktest-88.R Saving _problems/test-portfolioBacktest-111.R Saving _problems/test-portfolioBacktest-112.R [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-portfolioBacktest.R:73:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:74:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:85:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:86:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$GMVP$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight[, 1:2]`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:88:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `cash` to be equivalent to `as.vector(PerfAnal$BOP.Weight[, 3])`. Lengths differ: 80 is not 99 ── Failure ('test-portfolioBacktest.R:111:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$return` to be equivalent to `PerfAnal_next_day$returns`. Numeric: lengths (79, 99) differ ── Failure ('test-portfolioBacktest.R:112:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal_next_day$BOP.Weight`. Numeric: lengths (158, 198) differ [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.1
Check: tests
Result: ERROR Running ‘testthat.R’ [163s/267s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(portfolioBacktest) > > test_check("portfolioBacktest") Saving _problems/test-portfolioBacktest-73.R Saving _problems/test-portfolioBacktest-74.R Saving _problems/test-portfolioBacktest-85.R Saving _problems/test-portfolioBacktest-86.R Saving _problems/test-portfolioBacktest-88.R Saving _problems/test-portfolioBacktest-111.R Saving _problems/test-portfolioBacktest-112.R [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-portfolioBacktest.R:73:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:74:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:85:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:86:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$GMVP$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight[, 1:2]`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:88:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `cash` to be equivalent to `as.vector(PerfAnal$BOP.Weight[, 3])`. Lengths differ: 80 is not 99 ── Failure ('test-portfolioBacktest.R:111:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$return` to be equivalent to `PerfAnal_next_day$returns`. Numeric: lengths (79, 99) differ ── Failure ('test-portfolioBacktest.R:112:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal_next_day$BOP.Weight`. Numeric: lengths (158, 198) differ [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4.1
Check: tests
Result: ERROR Running 'testthat.R' [98s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(portfolioBacktest) > > test_check("portfolioBacktest") Saving _problems/test-portfolioBacktest-73.R Saving _problems/test-portfolioBacktest-74.R Saving _problems/test-portfolioBacktest-85.R Saving _problems/test-portfolioBacktest-86.R Saving _problems/test-portfolioBacktest-88.R Saving _problems/test-portfolioBacktest-111.R Saving _problems/test-portfolioBacktest-112.R [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-portfolioBacktest.R:73:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:74:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:85:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:86:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$GMVP$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight[, 1:2]`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:88:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `cash` to be equivalent to `as.vector(PerfAnal$BOP.Weight[, 3])`. Lengths differ: 80 is not 99 ── Failure ('test-portfolioBacktest.R:111:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$return` to be equivalent to `PerfAnal_next_day$returns`. Numeric: lengths (79, 99) differ ── Failure ('test-portfolioBacktest.R:112:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal_next_day$BOP.Weight`. Numeric: lengths (158, 198) differ [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.4.1
Check: tests
Result: ERROR Running 'testthat.R' [96s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(portfolioBacktest) > > test_check("portfolioBacktest") Saving _problems/test-portfolioBacktest-73.R Saving _problems/test-portfolioBacktest-74.R Saving _problems/test-portfolioBacktest-85.R Saving _problems/test-portfolioBacktest-86.R Saving _problems/test-portfolioBacktest-88.R Saving _problems/test-portfolioBacktest-111.R Saving _problems/test-portfolioBacktest-112.R [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-portfolioBacktest.R:73:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:74:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:85:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:86:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$GMVP$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight[, 1:2]`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:88:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `cash` to be equivalent to `as.vector(PerfAnal$BOP.Weight[, 3])`. Lengths differ: 80 is not 99 ── Failure ('test-portfolioBacktest.R:111:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$return` to be equivalent to `PerfAnal_next_day$returns`. Numeric: lengths (79, 99) differ ── Failure ('test-portfolioBacktest.R:112:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal_next_day$BOP.Weight`. Numeric: lengths (158, 198) differ [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 0.4.1
Check: tests
Result: ERROR Running 'testthat.R' [131s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(portfolioBacktest) > > test_check("portfolioBacktest") Saving _problems/test-portfolioBacktest-73.R Saving _problems/test-portfolioBacktest-74.R Saving _problems/test-portfolioBacktest-85.R Saving _problems/test-portfolioBacktest-86.R Saving _problems/test-portfolioBacktest-88.R Saving _problems/test-portfolioBacktest-111.R Saving _problems/test-portfolioBacktest-112.R [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-portfolioBacktest.R:73:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:74:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:85:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `ret_portfolioBacktest` to be equivalent to `PerfAnal$returns`. Numeric: lengths (80, 99) differ ── Failure ('test-portfolioBacktest.R:86:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt$GMVP$`dataset 1`$w_bop` to be equivalent to `PerfAnal$BOP.Weight[, 1:2]`. Numeric: lengths (160, 198) differ ── Failure ('test-portfolioBacktest.R:88:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `cash` to be equivalent to `as.vector(PerfAnal$BOP.Weight[, 3])`. Lengths differ: 80 is not 99 ── Failure ('test-portfolioBacktest.R:111:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$return` to be equivalent to `PerfAnal_next_day$returns`. Numeric: lengths (79, 99) differ ── Failure ('test-portfolioBacktest.R:112:3'): backtest results coincide with PerformanceAnalytics and base R ── Expected `bt_next_period$Uniform$`dataset 1`$w_bop` to be equivalent to `PerfAnal_next_day$BOP.Weight`. Numeric: lengths (158, 198) differ [ FAIL 7 | WARN 2 | SKIP 0 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64