The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Last updated on 2026-05-01 05:50:23 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.4.1 | 7.64 | 179.19 | 186.83 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.4.1 | 5.89 | 119.26 | 125.15 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.4.1 | 15.00 | 297.30 | 312.30 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.4.1 | 13.00 | 269.87 | 282.87 | ERROR | |
| r-devel-windows-x86_64 | 0.4.1 | 15.00 | 192.00 | 207.00 | ERROR | |
| r-patched-linux-x86_64 | 0.4.1 | 8.68 | 166.31 | 174.99 | ERROR | |
| r-release-linux-x86_64 | 0.4.1 | 7.35 | 165.15 | 172.50 | ERROR | |
| r-release-macos-arm64 | 0.4.1 | 2.00 | 48.00 | 50.00 | ERROR | |
| r-release-macos-x86_64 | 0.4.1 | 6.00 | 220.00 | 226.00 | OK | |
| r-release-windows-x86_64 | 0.4.1 | 11.00 | 191.00 | 202.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.4.1 | OK | ||||
| r-oldrel-macos-x86_64 | 0.4.1 | 5.00 | 165.00 | 170.00 | OK | |
| r-oldrel-windows-x86_64 | 0.4.1 | 15.00 | 245.00 | 260.00 | ERROR |
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [101s/134s]
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’ [62s/74s]
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/378s]
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' [99s]
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/110s]
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’ [21s/22s]
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-macos-arm64
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' [136s]
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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.