CRAN Package Check Results for Package qgcomp

Last updated on 2022-01-23 05:01:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.8.5 15.56 262.27 277.83 OK
r-devel-linux-x86_64-debian-gcc 2.8.5 13.92 216.90 230.82 OK
r-devel-linux-x86_64-fedora-clang 2.8.5 347.62 ERROR
r-devel-linux-x86_64-fedora-gcc 2.8.5 339.44 ERROR
r-devel-windows-x86_64-new-UL 2.8.5 55.00 340.00 395.00 OK
r-devel-windows-x86_64-new-TK 2.8.5 ERROR
r-patched-linux-x86_64 2.8.5 14.15 245.73 259.88 OK
r-release-linux-x86_64 2.8.5 13.65 241.35 255.00 OK
r-release-macos-arm64 2.8.5 OK
r-release-macos-x86_64 2.8.5 OK
r-release-windows-ix86+x86_64 2.8.5 33.00 330.00 363.00 OK
r-oldrel-macos-x86_64 2.8.5 OK
r-oldrel-windows-ix86+x86_64 2.8.5 32.00 330.00 362.00 OK

Check Details

Version: 2.8.5
Check: tests
Result: ERROR
     Running ‘test_asis.R’
     Running ‘test_basics.R’
     Running ‘test_bayesqgcomp.R’
     Running ‘test_boot_ints.R’
     Running ‘test_bootchooser.R’ [10s/15s]
     Running ‘test_factor.R’
     Running ‘test_id.R’
     Running ‘test_mice.R’
     Running ‘test_numeric.R’ [9s/12s]
     Running ‘test_poisson.R’
     Running ‘test_splits.R’
     Running ‘test_weights.R’
    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))
     > stopifnot(inherits(res, "qgcompfit"))
     > set.seed(12321)
     > res = try(obj2 <- qgcomp(f2, expnms = expnms, data = dat, B=2, MCsize=50))
     > stopifnot(inherits(res, "qgcompfit"))
     > set.seed(12321)
     > res = try(obj3 <- qgcomp(f3, expnms = expnms, data = dat, B=2, MCsize=50))
     > stopifnot(inherits(res, "qgcompfit"))
     > stopifnot(all.equal(
     + obj0$fit$coefficients,
     + obj1$fit$coefficients, check.names=FALSE
     + )=="Numeric: lengths (2, 3) differ")
     >
     > stopifnot(all.equal(
     + obj1$fit$coefficients,
     + obj2$fit$coefficients,
     + obj3$fit$coefficients, check.names=FALSE))
     Error in all.equal.numeric(obj1$fit$coefficients, obj2$fit$coefficients, :
     length(tolerance) == 1L is not TRUE
     Calls: stopifnot -> all.equal -> all.equal.numeric -> stopifnot
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.8.5
Check: tests
Result: ERROR
     Running ‘test_asis.R’
     Running ‘test_basics.R’
     Running ‘test_bayesqgcomp.R’
     Running ‘test_boot_ints.R’
     Running ‘test_bootchooser.R’ [11s/11s]
     Running ‘test_factor.R’
     Running ‘test_id.R’
     Running ‘test_mice.R’
     Running ‘test_numeric.R’ [10s/10s]
     Running ‘test_poisson.R’
     Running ‘test_splits.R’
     Running ‘test_weights.R’
    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))
     > stopifnot(inherits(res, "qgcompfit"))
     > set.seed(12321)
     > res = try(obj2 <- qgcomp(f2, expnms = expnms, data = dat, B=2, MCsize=50))
     > stopifnot(inherits(res, "qgcompfit"))
     > set.seed(12321)
     > res = try(obj3 <- qgcomp(f3, expnms = expnms, data = dat, B=2, MCsize=50))
     > stopifnot(inherits(res, "qgcompfit"))
     > stopifnot(all.equal(
     + obj0$fit$coefficients,
     + obj1$fit$coefficients, check.names=FALSE
     + )=="Numeric: lengths (2, 3) differ")
     >
     > stopifnot(all.equal(
     + obj1$fit$coefficients,
     + obj2$fit$coefficients,
     + obj3$fit$coefficients, check.names=FALSE))
     Error in all.equal.numeric(obj1$fit$coefficients, obj2$fit$coefficients, :
     length(tolerance) == 1L is not TRUE
     Calls: stopifnot -> all.equal -> all.equal.numeric -> stopifnot
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.8.5
Check: package dependencies
Result: ERROR
    Package required but not available: 'arm'
    
    See section 'The DESCRIPTION file' in the 'Writing R Extensions'
    manual.
Flavor: r-devel-windows-x86_64-new-TK