CRAN Package Check Results for Package mstate

Last updated on 2020-01-19 15:47:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.12 10.51 105.01 115.52 OK
r-devel-linux-x86_64-debian-gcc 0.2.12 9.02 79.00 88.02 OK
r-devel-linux-x86_64-fedora-clang 0.2.12 137.75 OK
r-devel-linux-x86_64-fedora-gcc 0.2.12 131.74 OK
r-devel-windows-ix86+x86_64 0.2.12 31.00 137.00 168.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.2.12 21.00 208.00 229.00 OK
r-patched-linux-x86_64 0.2.12 10.45 93.17 103.62 OK
r-patched-solaris-x86 0.2.12 185.70 OK
r-release-linux-x86_64 0.2.12 8.80 91.57 100.37 OK
r-release-windows-ix86+x86_64 0.2.12 27.00 136.00 163.00 OK
r-release-osx-x86_64 0.2.12 OK
r-oldrel-windows-ix86+x86_64 0.2.12 20.00 183.00 203.00 OK
r-oldrel-osx-x86_64 0.2.12 OK

Check Details

Version: 0.2.12
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'mstate-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: Cuminc
    > ### Title: Calculate nonparametric cumulative incidence functions and
    > ### associated standard errors
    > ### Aliases: Cuminc print.Cuminc plot.Cuminc summary.Cuminc
    > ### Keywords: survival
    >
    > ### ** Examples
    >
    > ### These data were used in Putter, Fiocco & Geskus (2007)
    > data(aidssi)
    > ci <- Cuminc(time=aidssi$time, status=aidssi$status)
    > head(ci); tail(ci)
     time Surv CI.1 CI.2 seSurv seCI.1 seCI.2
    1 0.112 0.9969605 0 0.003039514 0.003034891 0 0.003034891
    2 0.137 0.9939210 0 0.006079027 0.004285436 0 0.004285436
    3 0.474 0.9908628 0 0.009137246 0.005251290 0 0.005251290
    4 0.824 0.9877760 0 0.012224046 0.006074796 0 0.006074796
    5 0.884 0.9846795 0 0.015320522 0.006799283 0 0.006799283
    6 0.969 0.9815830 0 0.018416998 0.007449696 0 0.007449696
     time Surv CI.1 CI.2 seSurv seCI.1 seCI.2
    211 11.943 0.2312339 0.4035707 0.3651954 0.02638091 0.02978948 0.02881464
    212 12.129 0.2266092 0.4081954 0.3651954 0.02625552 0.02989297 0.02881464
    213 12.400 0.2219845 0.4081954 0.3698201 0.02612382 0.02989297 0.02896110
    214 12.936 0.2165702 0.4081954 0.3752344 0.02604167 0.02989297 0.02919663
    215 13.361 0.2067261 0.4180395 0.3752344 0.02665370 0.03089977 0.02919663
    216 13.936 0.0000000 0.4180395 0.5819605 0.00000000 0.03089977 0.03089977
    > ci <- Cuminc(time="time", status="status", data=aidssi, group="ccr5")
    > head(ci); tail(ci)
     group time Surv CI.1 CI.2 seSurv seCI.1 seCI.2
    1 WW 0.112 0.9961390 0 0.003861004 0.003853543 0 0.003853543
    2 WW 0.137 0.9922780 0 0.007722008 0.005439161 0 0.005439161
    3 WW 0.474 0.9884170 0 0.011583012 0.006648612 0 0.006648612
    4 WW 0.884 0.9845102 0 0.015489798 0.007684916 0 0.007684916
    5 WW 0.969 0.9806034 0 0.019396585 0.008590260 0 0.008590260
    6 WW 1.013 0.9766966 0 0.023303371 0.009402549 0 0.009402549
     group time Surv CI.1 CI.2 seSurv seCI.1 seCI.2
    210 WM 10.530 0.4846807 0.1739880 0.3413313 0.06604015 0.05007872 0.06224246
    211 WM 10.617 0.4667296 0.1739880 0.3592824 0.06598889 0.05007872 0.06307364
    212 WM 10.903 0.4487784 0.1919392 0.3592824 0.06584725 0.05208878 0.06307364
    213 WM 11.696 0.4283794 0.1919392 0.3796814 0.06593826 0.05208878 0.06426400
    214 WM 12.400 0.4079804 0.1919392 0.4000804 0.06587820 0.05208878 0.06528037
    215 WM 13.361 0.3626492 0.2372703 0.4000804 0.07249604 0.06544637 0.06528037
    >
    > ### Some fake data
    > fake <- data.frame(surv=c(seq(2,10,by=2),seq(1,13,by=3),seq(1,9,by=2),seq(1,13,by=3)),
    + stat=rep(0:3,5),Tstage=c(1:4,rep(1:4,rep(4,4))))
    > fake$stat[fake$stat==0 & fake$Tstage==2] <- 3
    > fake$stat[fake$stat==3 & fake$Tstage==1] <- 2
    > fake
     surv stat Tstage
    1 2 0 1
    2 4 1 2
    3 6 2 3
    4 8 3 4
    5 10 0 1
    6 1 1 1
    7 4 2 1
    8 7 2 1
    9 10 3 2
    10 13 1 2
    11 1 2 2
    12 3 3 2
    13 5 0 3
    14 7 1 3
    15 9 2 3
    16 1 3 3
    17 4 0 4
    18 7 1 4
    19 10 2 4
    20 13 3 4
    > Cuminc(time="surv", status="stat", data=fake)
    Error in if (flag["teleport"] > 0) { :
     missing value where TRUE/FALSE needed
    Calls: Cuminc ... survfit -> survfit.formula -> survfitCI -> survcheck2
    Execution halted
Flavor: r-devel-windows-ix86+x86_64