'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
installed size is  5.1Mb
  sub-directories of 1Mb or more:
    libs   5.0Mb
'LazyData' is specified without a 'data' directory
Running examples in ‘L1mstate-Ex.R’ failed
The error most likely occurred in:

> ### Name: cumhaz.l1mstate
> ### Title: Compute subject-specific transition hazard rates
> ### Aliases: cumhaz.l1mstate
> ### Keywords: multi-state models regularization
> 
> ### ** Examples
> 
> #### EBMT data
> data(ebmt4)
> 
> x1 <- ifelse(ebmt4$match=="gender mismatch", 1, 0)
> x2 <- ifelse(ebmt4$proph=="yes", 1, 0)
> x3 <- ifelse(ebmt4$year=="1990-1994", 1, 0)
> x4 <- ifelse(ebmt4$year=="1995-1998", 1, 0)
> x5 <- ifelse(ebmt4$agecl=="20-40", 1, 0)
> x6 <- ifelse(ebmt4$agecl==">40", 1, 0)
> dt <- data.frame(ebmt4[,1:11],x1,x2,x3,x4,x5,x6)
> col_names <- c("x1", "x2", "x3", "x4", "x5", "x6")
> tmat <- transMat(x = list(c(2,3,5,6),c(4,5,6),c(4,5,6),c(5,6),c(),c()),  
+                  names = c("Tx", "Rec", "AE", "Rec+AE", "Rel", "Death"))
> dat <- msprep(data = dt, trans = tmat, time = c(NA, "rec", "ae", 
+                 "recae","rel", "srv"),status = c(NA, "rec.s", "ae.s", 
+                 "recae.s","rel.s", "srv.s"), keep = col_names)
> # select the first 450 lines for a sake of illustration
> dat <- dat[1:450,]
> out <- cv.l1mstateR(dat, nlambda = 100, nfolds = 10)
Error in if (nzMax != 0) { : argument is of length zero
Calls: cv.l1mstateR
Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory