Last updated on 2025-12-19 14:50:29 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.6 | 12.16 | 77.14 | 89.30 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.6 | 8.80 | 56.07 | 64.87 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.2.6 | 20.00 | 118.68 | 138.68 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.6 | 20.00 | 113.21 | 133.21 | ERROR | |
| r-devel-windows-x86_64 | 0.2.6 | 14.00 | 96.00 | 110.00 | OK | |
| r-patched-linux-x86_64 | 0.2.6 | 12.30 | 71.68 | 83.98 | OK | |
| r-release-linux-x86_64 | 0.2.6 | 11.77 | 72.50 | 84.27 | OK | |
| r-release-macos-arm64 | 0.2.6 | OK | ||||
| r-release-macos-x86_64 | 0.2.6 | 8.00 | 85.00 | 93.00 | OK | |
| r-release-windows-x86_64 | 0.2.6 | 15.00 | 86.00 | 101.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.6 | OK | ||||
| r-oldrel-macos-x86_64 | 0.2.6 | 8.00 | 78.00 | 86.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.6 | 23.00 | 109.00 | 132.00 | OK |
Version: 0.2.6
Check: examples
Result: ERROR
Running examples in ‘pedquant-Ex.R’ failed
The error most likely occurred in:
> ### Name: pq_portfolio
> ### Title: calculating returns/equity of portfolio
> ### Aliases: pq_portfolio
>
> ### ** Examples
>
> library(pedquant)
>
> data(dt_banks)
> datadj = md_stock_adjust(dt_banks)
>
>
> # example I
> orders = data.frame(
+ symbol = c("601288.SH","601328.SH","601398.SH","601939.SH","601988.SH"),
+ quantity = c(100, 200, 300, 300, 100)
+ )
> dtRa = pq_portfolio(datadj, orders=orders)
Error in `[.data.table`(orders[is.na(get(v)), `:=`((v), 0)][order(symbol, :
attempt access index 6/6 in VECTOR_ELT
Calls: pq_portfolio -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc