Last updated on 2026-04-23 09:53:26 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.4.1 | 7.47 | 176.75 | 184.22 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.4.1 | 5.93 | 118.14 | 124.07 | 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 | 13.00 | 269.87 | 282.87 | 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 | 185.00 | 197.00 | ERROR | |
| r-patched-linux-x86_64 | 0.4.1 | 8.26 | 166.83 | 175.09 | ERROR | |
| r-release-linux-x86_64 | 0.4.1 | 7.47 | 162.38 | 169.85 | ERROR | |
| 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 | 11.00 | 189.00 | 200.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 | 15.00 | 250.00 | 265.00 | ERROR |
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [99s/123s]
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’ [61s/69s]
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’ [144s/166s]
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' [94s]
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’ [94s/120s]
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-patched-linux-x86_64
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [93s/111s]
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-linux-x86_64
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-release-windows-x86_64
Version: 0.4.1
Check: tests
Result: ERROR
Running 'testthat.R' [141s]
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