CRAN Package Check Results for Package survtmle

Last updated on 2018-02-20 19:48:41 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 6.97 124.21 131.18 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.0 4.95 92.33 97.28 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 161.10 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 149.52 ERROR
r-devel-windows-ix86+x86_64 1.0.0 13.00 116.00 129.00 ERROR
r-patched-linux-x86_64 1.0.0 5.15 136.07 141.22 ERROR
r-patched-solaris-x86 1.0.0 225.50 ERROR
r-release-linux-x86_64 1.0.0 4.73 133.44 138.17 ERROR
r-release-windows-ix86+x86_64 1.0.0 17.00 190.00 207.00 ERROR
r-release-osx-x86_64 1.0.0 OK
r-oldrel-windows-ix86+x86_64 1.0.0 16.00 159.00 175.00 ERROR
r-oldrel-osx-x86_64 1.0.0 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in ‘survtmle-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plot.tp.survtmle
    > ### Title: Plot Results of Cumulative Incidence Estimates
    > ### Aliases: plot.tp.survtmle
    >
    > ### ** Examples
    >
    > library(survtmle)
    > set.seed(341796)
    > n <- 100
    > t_0 <- 10
    > W <- data.frame(W1 = runif(n), W2 = rbinom(n, 1, 0.5))
    > A <- rbinom(n, 1, 0.5)
    > T <- rgeom(n,plogis(-4 + W$W1 * W$W2 - A)) + 1
    > C <- rgeom(n, plogis(-6 + W$W1)) + 1
    > ftime <- pmin(T, C)
    > ftype <- as.numeric(ftime == T)
    > suppressWarnings(
    + fit <- survtmle(ftime = ftime, ftype = ftype,
    + adjustVars = W, glm.ftime = "I(W1*W2) + trt + t",
    + trt = A, glm.ctime = "W1 + t", method = "hazard",
    + verbose = TRUE, t0 = t_0, maxIter = 2)
    + )
    > tpfit <- timepoints(fit, times = seq_len(t_0))
    > plot(tpfit)
    Error in names(x) <- value :
     'names' attribute [3] must be the same length as the vector [2]
    Calls: plot -> plot.tp.survtmle -> colnames<-
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Quitting from lines 540-542 (survtmle_intro.Rmd)
    Error: processing vignette ‘survtmle_intro.Rmd’ failed with diagnostics:
    ‘names’ attribute [3] must be the same length as the vector [2]
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in ‘survtmle-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plot.tp.survtmle
    > ### Title: Plot Results of Cumulative Incidence Estimates
    > ### Aliases: plot.tp.survtmle
    >
    > ### ** Examples
    >
    > library(survtmle)
    > set.seed(341796)
    > n <- 100
    > t_0 <- 10
    > W <- data.frame(W1 = runif(n), W2 = rbinom(n, 1, 0.5))
    > A <- rbinom(n, 1, 0.5)
    > T <- rgeom(n,plogis(-4 + W$W1 * W$W2 - A)) + 1
    > C <- rgeom(n, plogis(-6 + W$W1)) + 1
    > ftime <- pmin(T, C)
    > ftype <- as.numeric(ftime == T)
    > suppressWarnings(
    + fit <- survtmle(ftime = ftime, ftype = ftype,
    + adjustVars = W, glm.ftime = "I(W1*W2) + trt + t",
    + trt = A, glm.ctime = "W1 + t", method = "hazard",
    + verbose = TRUE, t0 = t_0, maxIter = 2)
    + )
    > tpfit <- timepoints(fit, times = seq_len(t_0))
    > plot(tpfit)
    Error in names(x) <- value :
     'names' attribute [3] must be the same length as the vector [2]
    Calls: plot -> plot.tp.survtmle -> colnames<-
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64

Version: 1.0.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 540-542 (survtmle_intro.Rmd)
    Error: processing vignette 'survtmle_intro.Rmd' failed with diagnostics:
    'names' attribute [3] must be the same length as the vector [2]
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in 'survtmle-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plot.tp.survtmle
    > ### Title: Plot Results of Cumulative Incidence Estimates
    > ### Aliases: plot.tp.survtmle
    >
    > ### ** Examples
    >
    > library(survtmle)
    > set.seed(341796)
    > n <- 100
    > t_0 <- 10
    > W <- data.frame(W1 = runif(n), W2 = rbinom(n, 1, 0.5))
    > A <- rbinom(n, 1, 0.5)
    > T <- rgeom(n,plogis(-4 + W$W1 * W$W2 - A)) + 1
    > C <- rgeom(n, plogis(-6 + W$W1)) + 1
    > ftime <- pmin(T, C)
    > ftype <- as.numeric(ftime == T)
    > suppressWarnings(
    + fit <- survtmle(ftime = ftime, ftype = ftype,
    + adjustVars = W, glm.ftime = "I(W1*W2) + trt + t",
    + trt = A, glm.ctime = "W1 + t", method = "hazard",
    + verbose = TRUE, t0 = t_0, maxIter = 2)
    + )
    > tpfit <- timepoints(fit, times = seq_len(t_0))
    > plot(tpfit)
    Error in `colnames<-`(`*tmp*`, value = c("t", "group", "value")) :
     'names' attribute [3] must be the same length as the vector [2]
    Calls: plot -> plot.tp.survtmle -> colnames<-
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64