CRAN Package Check Results for Package L1mstate

Last updated on 2021-10-19 09:54:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 1.0.1 29.82 71.69 101.51 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 182.74 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 173.06 OK
r-devel-windows-x86_64 1.0.1 39.00 139.00 178.00 OK
r-patched-linux-x86_64 1.0.1 31.09 93.55 124.64 OK
r-patched-solaris-x86 1.0.1 188.00 OK
r-release-linux-x86_64 1.0.1 29.30 93.50 122.80 OK
r-release-macos-arm64 1.0 ERROR
r-release-macos-x86_64 1.0.1 OK
r-release-windows-ix86+x86_64 1.0.1 72.00 138.00 210.00 OK
r-oldrel-macos-x86_64 1.0.1 OK
r-oldrel-windows-ix86+x86_64 1.0.1 64.00 131.00 195.00 OK

Check Details

Version: 1.0
Check: installed package size
Result: NOTE
     installed size is 5.1Mb
     sub-directories of 1Mb or more:
     libs 5.0Mb
Flavor: r-release-macos-arm64

Version: 1.0
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavor: r-release-macos-arm64

Version: 1.0
Check: examples
Result: ERROR
    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
Flavor: r-release-macos-arm64