CRAN Package Check Results for Maintainer ‘Angela Carollo <carollo at demogr.mpg.de>’

Last updated on 2025-12-28 05:50:19 CET.

Package ERROR OK
TwoTimeScales 1 12

Package TwoTimeScales

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.0
Check: examples
Result: ERROR Running examples in 'TwoTimeScales-Ex.R' failed The error most likely occurred in: > ### 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-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.