CRAN Package Check Results for Package svycoxme

Last updated on 2026-10-24 12:51:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 30.41 510.07 540.48 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 19.17 330.97 350.14 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 22.00 361.80 383.80 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 21.00 316.19 337.19 OK
r-devel-windows-x86_64 1.0.0 34.00 575.00 609.00 OK
r-patched-linux-x86_64 1.0.0 23.39 470.81 494.20 OK
r-release-linux-x86_64 1.0.0 25.73 467.40 493.13 OK
r-release-macos-arm64 1.0.0 6.00 126.00 132.00 OK
r-release-macos-x86_64 1.0.0 18.00 475.00 493.00 OK
r-release-windows-x86_64 1.0.0 31.00 481.00 512.00 OK
r-oldrel-macos-arm64 1.0.0 OK
r-oldrel-macos-x86_64 1.0.0 17.00 506.00 523.00 OK
r-oldrel-windows-x86_64 1.0.0 38.00 664.00 702.00 OK

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [267s/300s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(svycoxme) > > test_check("svycoxme") Saving _problems/test-residuals.coxme-19.R Saving _problems/test-residuals.coxme-50.R Saving _problems/test-residuals.coxme-80.R Saving _problems/test-residuals.coxme-112.R Saving _problems/test-residuals.coxme-203.R 1 - level Cluster Sampling design (with replacement) With (100) clusters. des <- survey::svydesign(ids = ~group_id, weights = ~weight, data = samp_srcs) [ FAIL 5 | WARN 1 | SKIP 0 | PASS 20 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-residuals.coxme.R:18:3'): residuals are the same: right-censored time ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─survey::svycoxph(survival::Surv(stat_time, stat) ~ X1, design = des) at test-residuals.coxme.R:18:3 2. └─survey:::svycoxph.survey.design(...) 3. ├─stats::resid(g, "dfbeta", weighted = TRUE) 4. └─survival:::residuals.coxph(g, "dfbeta", weighted = TRUE) 5. └─survival:::coxph.getdata(object, y = TRUE, x = TRUE, stratax = TRUE) 6. ├─stats::model.matrix(fit, data = mf) 7. └─survival:::model.matrix.coxph(fit, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) ── Error ('test-residuals.coxme.R:49:3'): residuals are the same: right-censored time; ties ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─survey::svycoxph(survival::Surv(stat_time, stat) ~ X1, design = des) at test-residuals.coxme.R:49:3 2. └─survey:::svycoxph.survey.design(...) 3. ├─stats::resid(g, "dfbeta", weighted = TRUE) 4. └─survival:::residuals.coxph(g, "dfbeta", weighted = TRUE) 5. └─survival:::coxph.getdata(object, y = TRUE, x = TRUE, stratax = TRUE) 6. ├─stats::model.matrix(fit, data = mf) 7. └─survival:::model.matrix.coxph(fit, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) ── Error ('test-residuals.coxme.R:79:3'): residuals are the same: counting-process time ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─survey::svycoxph(...) at test-residuals.coxme.R:79:3 2. └─survey:::svycoxph.survey.design(...) 3. ├─stats::resid(g, "dfbeta", weighted = TRUE) 4. └─survival:::residuals.coxph(g, "dfbeta", weighted = TRUE) 5. └─survival:::coxph.getdata(object, y = TRUE, x = TRUE, stratax = TRUE) 6. ├─stats::model.matrix(fit, data = mf) 7. └─survival:::model.matrix.coxph(fit, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) ── Error ('test-residuals.coxme.R:111:3'): residuals are the same: counting process time; ties ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─survey::svycoxph(survival::Surv(stat_time, stat) ~ X1, design = des) at test-residuals.coxme.R:111:3 2. └─survey:::svycoxph.survey.design(...) 3. ├─stats::resid(g, "dfbeta", weighted = TRUE) 4. └─survival:::residuals.coxph(g, "dfbeta", weighted = TRUE) 5. └─survival:::coxph.getdata(object, y = TRUE, x = TRUE, stratax = TRUE) 6. ├─stats::model.matrix(fit, data = mf) 7. └─survival:::model.matrix.coxph(fit, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) ── Error ('test-residuals.coxme.R:202:3'): residuals are the same: right-censored time; missing data ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─survey::svycoxph(survival::Surv(stat_time, stat) ~ X1, design = des) at test-residuals.coxme.R:202:3 2. └─survey:::svycoxph.survey.design(...) 3. ├─stats::resid(g, "dfbeta", weighted = TRUE) 4. └─survival:::residuals.coxph(g, "dfbeta", weighted = TRUE) 5. └─survival:::coxph.getdata(object, y = TRUE, x = TRUE, stratax = TRUE) 6. ├─stats::model.matrix(fit, data = mf) 7. └─survival:::model.matrix.coxph(fit, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) [ FAIL 5 | WARN 1 | SKIP 0 | PASS 20 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc