CRAN Package Check Results for Package TwoTimeScales

Last updated on 2025-12-19 23:50:07 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 17.46 162.70 180.16 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 12.52 109.17 121.69 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 31.00 251.54 282.54 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 31.00 259.61 290.61 OK
r-devel-windows-x86_64 1.0.0 20.00 172.00 192.00 OK
r-patched-linux-x86_64 1.0.0 19.03 150.54 169.57 OK
r-release-linux-x86_64 1.0.0 14.94 149.72 164.66 OK
r-release-macos-arm64 1.0.0 OK
r-release-macos-x86_64 1.0.0 10.00 132.00 142.00 OK
r-release-windows-x86_64 1.0.0 19.00 159.00 178.00 OK
r-oldrel-macos-arm64 1.0.0 OK
r-oldrel-macos-x86_64 1.0.0 10.00 98.00 108.00 OK
r-oldrel-windows-x86_64 1.0.0 30.00 212.00 242.00 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘TwoTimeScales-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: exposures_events_Lexis > ### Title: Bin data on the Lexis diagram > ### Aliases: exposures_events_Lexis > > ### ** Examples > > # ---- Bin colon cancer data by time since randomization and time since recurrence ---- > # First create vectors of bins (using function `make_bins()`) > bins <- make_bins(t_out = reccolon2ts$timedc, s_out = reccolon2ts$timesr, + dt = 90, ds = 90) `t_in` not provided. I will use `t_in = t_out - s_in`. `s_in = NULL`. I will use `s_in = 0` for all observations. > # Now bin data (note: the t_in and s_in arguments are omitted because data are not left truncated) > bindata2d <- exposures_events_Lexis(t_out = reccolon2ts$timedc, + s_out = reccolon2ts$timesr, ev = reccolon2ts$status, bins = bins) `t_in` not provided. I will use `t_in = t_out - s_in`. `s_in = NULL`. I will use `s_in = 0` for all observations. NOTE: entry.status has been set to 0 for all. Error in `[.data.table`(l, , `:=`((tmp_ie), shift(.SD, n = 1, type = "lead")), : attempt access index 6/6 in VECTOR_ELT Calls: exposures_events_Lexis -> <Anonymous> -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc