CRAN Package Check Results for Package ebmstate

Last updated on 2026-10-23 23:54:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 24.63 88.71 113.34 OK
r-devel-linux-x86_64-debian-gcc 0.1.5 18.32 64.62 82.94 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.5 20.00 61.61 81.61 OK
r-devel-linux-x86_64-fedora-gcc 0.1.5 20.00 59.98 79.98 OK
r-devel-windows-x86_64 0.1.5 37.00 174.00 211.00 OK
r-patched-linux-x86_64 0.1.5 24.81 77.21 102.02 OK
r-release-linux-x86_64 0.1.5 22.39 75.41 97.80 OK
r-release-macos-arm64 0.1.5 6.00 19.00 25.00 OK
r-release-macos-x86_64 0.1.5 18.00 79.00 97.00 OK
r-release-windows-x86_64 0.1.5 39.00 105.00 144.00 OK
r-oldrel-macos-arm64 0.1.5 OK
r-oldrel-macos-x86_64 0.1.5 16.00 63.00 79.00 OK
r-oldrel-windows-x86_64 0.1.5 40.00 123.00 163.00 OK

Check Details

Version: 0.1.5
Check: examples
Result: ERROR Running examples in ‘ebmstate-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: msfit_generic > ### Title: Compute subject-specific transition hazards. > ### Aliases: msfit_generic msfit_generic.default msfit_generic.coxrfx > > ### ** Examples > > # Compute cumulative hazard rates > # under a (pre-estimated) empirical Bayes Cox > # model. > > #load simulated data (illness-death model, > #500 patients) and estimated empirical > # Bayes Cox model > data("mstate_data_sample") > data("coxrfx_object_sample") > > # Make objects 'surv' and 'Z' > # with the data used in the estimation > > #outcome data > surv<-coxrfx_object_sample$surv > > #covariate data > Z<-coxrfx_object_sample$Z > > # Build a data frame 'patient_data' > # with the covariate values for which > # cumulative hazards are to be computed > # (patient 1 covariate values in this case). > # 'patient_data' must have one row for each > # transition in the model > # and the same columns as 'Z'. The assignment > # of transitions to strata (made in the 'strata' > # column) must follow the original model in > # 'coxrfx_object_sample'. > > patient_data<-mstate_data_sample[mstate_data_sample$id==1, + ,drop=FALSE][rep(1,3),] > patient_data$strata<-patient_data$trans<-1:3 > patient_data<-mstate::expand.covs(patient_data, + covs=names(patient_data)[!names(patient_data)%in% + c("id","from","to","trans","Tstart","Tstop","time", + "to","trans","Tstart","Tstop","time","status", + "strata")],append=TRUE) > > # compute cumulative hazards > msfit_object<-msfit_generic(coxrfx_object_sample, + patient_data, + coxrfx_object_sample$tmat) Error in a$specials[[i]] : subscript out of bounds Calls: msfit_generic -> msfit_generic.coxrfx -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc