CRAN Package Check Results for Package dtms

Last updated on 2026-10-24 12:51:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 5.31 71.33 76.64 OK
r-devel-linux-x86_64-debian-gcc 0.5.0 3.93 35.58 39.51 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.0 49.37 OK
r-devel-linux-x86_64-fedora-gcc 0.5.0 50.47 OK
r-devel-windows-x86_64 0.5.0 9.00 92.00 101.00 OK
r-patched-linux-x86_64 0.5.0 6.27 65.35 71.62 OK
r-release-linux-x86_64 0.5.0 5.65 64.18 69.83 OK
r-release-macos-arm64 0.5.0 1.00 21.00 22.00 OK
r-release-macos-x86_64 0.5.0 4.00 96.00 100.00 OK
r-release-windows-x86_64 0.5.0 8.00 94.00 102.00 OK
r-oldrel-macos-arm64 0.5.0 1.00 26.00 27.00 OK
r-oldrel-macos-x86_64 0.5.0 5.00 103.00 108.00 OK
r-oldrel-windows-x86_64 0.5.0 11.00 107.00 118.00 OK

Check Details

Version: 0.5.0
Check: examples
Result: ERROR Running examples in ‘dtms-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: dtms_absorbed > ### Title: Calculate the distribution of the time until entering an > ### absorbing state > ### Aliases: dtms_absorbed > > ### ** Examples > > ## Define model: Absorbing and transient states, time scale > simple <- dtms(transient=c("A","B"), + absorbing="X", + timescale=0:20) > ## Reshape to transition format > estdata <- dtms_format(data=simpledata, + dtms=simple, + idvar="id", + timevar="time", + statevar="state") Kept original name for time Kept original name for id > ## Clean > estdata <- dtms_clean(data=estdata, + dtms=simple) Dropping 0 rows not in state space Dropping 0 rows not in time range Dropping 1263 rows starting or ending in NA Dropping 0 rows starting in absorbing state > ## Fit model > fit <- dtms_fit(data=estdata) > ## Predict probabilities > probs <- dtms_transitions(dtms=simple, + model = fit) Error in (function (cond) : error in evaluating the argument 'object' in selecting a method for function 'model.matrix': subscript out of bounds Calls: dtms_transitions ... model.matrix -> delete.response -> off -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-gcc