CRAN Package Check Results for Package pedquant

Last updated on 2025-12-28 01:48:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.6 12.17 78.39 90.56 OK
r-devel-linux-x86_64-debian-gcc 0.2.6 9.38 59.44 68.82 OK
r-devel-linux-x86_64-fedora-clang 0.2.6 21.00 123.17 144.17 OK
r-devel-linux-x86_64-fedora-gcc 0.2.6 22.00 128.47 150.47 OK
r-devel-windows-x86_64 0.2.6 14.00 90.00 104.00 ERROR
r-patched-linux-x86_64 0.2.6 12.20 73.84 86.04 OK
r-release-linux-x86_64 0.2.6 11.82 71.40 83.22 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 14.00 87.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 20.00 113.00 133.00 OK

Check Details

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-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.