CRAN Package Check Results for Package qgcomp

Last updated on 2026-10-24 00:52:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.19.6 19.71 357.17 376.88 OK
r-devel-linux-x86_64-debian-gcc 2.19.6 13.79 212.10 225.89 ERROR
r-devel-linux-x86_64-fedora-clang 2.19.6 17.00 281.83 298.83 OK
r-devel-linux-x86_64-fedora-gcc 2.19.6 14.00 236.29 250.29 OK
r-devel-windows-x86_64 2.19.6 24.00 406.00 430.00 OK
r-patched-linux-x86_64 2.19.6 20.31 335.23 355.54 OK
r-release-linux-x86_64 2.19.6 19.94 337.58 357.52 OK
r-release-macos-arm64 2.19.6 5.00 96.00 101.00 OK
r-release-macos-x86_64 2.19.6 14.00 308.00 322.00 OK
r-release-windows-x86_64 2.19.6 21.00 369.00 390.00 OK
r-oldrel-macos-arm64 2.19.6 5.00 115.00 120.00 OK
r-oldrel-macos-x86_64 2.19.6 14.00 255.00 269.00 OK
r-oldrel-windows-x86_64 2.19.6 31.00 513.00 544.00 OK

Check Details

Version: 2.19.6
Check: examples
Result: ERROR Running examples in ‘qgcomp-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: coxmsm_fit > ### Title: Marginal structural Cox model (MSM) fitting within quantile > ### g-computation > ### Aliases: coxmsm_fit > > ### ** Examples > > set.seed(50) > dat <- data.frame(time=(tmg <- pmin(.1,rweibull(50, 10, 0.1))), d=1.0*(tmg<0.1), + x1=runif(50), x2=runif(50), z=runif(50)) > expnms=paste0("x", 1:2) > qdata = quantize(dat, expnms)$data > f = survival::Surv(time, d)~x1 + x2 > fit <- survival::coxph(f, data = qdata, y=TRUE, x=TRUE) > r1 = qdata[1,,drop=FALSE] > times = survival::survfit(fit, newdata=r1, se.fit=FALSE)$time Error in a$specials[[i]] : subscript out of bounds Calls: <Anonymous> -> survfit.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.19.6
Check: tests
Result: ERROR Running ‘test_asis.R’ [3s/4s] Running ‘test_basics.R’ [3s/4s] Running ‘test_bayesqgcomp.R’ [4s/4s] Running ‘test_boot_ints.R’ [4s/5s] Running ‘test_bootchooser.R’ [5s/7s] Running ‘test_ee.R’ [19s/23s] Running ‘test_factor.R’ [3s/4s] Running ‘test_id.R’ [3s/4s] Running ‘test_mice.R’ [3s/4s] Running ‘test_multinomial.R’ [0s/0s] Running ‘test_numeric.R’ [5s/7s] Running ‘test_poisson.R’ [3s/4s] Running ‘test_splits.R’ [3s/4s] Running ‘test_weights.R’ [4s/5s] Running the tests in ‘tests/test_asis.R’ failed. Complete output: > cat("# asis test\n") # asis test > library("qgcomp") > # does the checknames correctly intuit which are linear/non-linear models for common specifications > set.seed(50) > N=50 > dat <- data.frame(time=(tmg <- pmin(.1,rweibull(N, 10, 0.1))), + d=1.0*(tmg<0.1), x1=runif(N), x2=runif(N), z=runif(N)) > expnms=paste0("x", 1:2) > > > ##### non additive > > f0 = survival::Surv(time, d)~ x1 + x2 > f1 = survival::Surv(time, d)~ x1*x2 > f2 = survival::Surv(time, d)~ x1 + x2 + I(x1*x2) > f3 = survival::Surv(time, d)~x1 + x2 + x1:x2 > set.seed(12321) > #res = try(qgcomp(f0, expnms = expnms, data = dat, B=2, MCsize=50)) > #stopifnot(class(res)=="try-error") > res = try(obj0 <- qgcomp(f0, expnms = expnms, data = dat)) > stopifnot(inherits(res, "qgcompfit")) > set.seed(12321) > res = try(obj1 <- qgcomp(f1, expnms = expnms, data = dat, B=2, MCsize=50)) Error in a$specials[[i]] : subscript out of bounds > stopifnot(inherits(res, "qgcompfit")) Error: inherits(res, "qgcompfit") is not TRUE Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.19.6
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘qgcomp-advanced-vignette.Rmd’ using knitr Quitting from qgcomp-advanced-vignette.Rmd:78-92 [tm2evnt2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. └─qgcomp::qgcomp.cox.boot(...) 2. └─qgcomp::coxmsm_fit(...) 3. └─base::lapply(intvals, predit) 4. └─qgcomp (local) FUN(X[[i]], ...) 5. ├─survival::survfit(fit, newdata = newdata, se.fit = FALSE) 6. └─survival:::survfit.coxph(fit, newdata = newdata, se.fit = FALSE) 7. └─survival:::model.matrix.coxph(object, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'qgcomp-advanced-vignette.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘qgcomp-advanced-vignette.Rmd’ --- re-building ‘qgcomp-basic-vignette.Rmd’ using knitr --- finished re-building ‘qgcomp-basic-vignette.Rmd’ --- re-building ‘qgcomp-vignette.Rmd’ using knitr --- finished re-building ‘qgcomp-vignette.Rmd’ SUMMARY: processing the following file failed: ‘qgcomp-advanced-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc