CRAN Package Check Results for Package PSsurvival

Last updated on 2026-10-24 01:51:43 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 6.03 117.19 123.22 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 3.68 59.98 63.66 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 79.01 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 85.67 OK
r-devel-windows-x86_64 0.2.1 8.00 139.00 147.00 OK
r-patched-linux-x86_64 0.2.1 6.68 106.70 113.38 OK
r-release-linux-x86_64 0.2.1 5.83 109.84 115.67 OK
r-release-macos-arm64 0.2.1 1.00 39.00 40.00 OK
r-release-macos-x86_64 0.2.1 4.00 125.00 129.00 OK
r-release-windows-x86_64 0.2.1 7.00 138.00 145.00 OK
r-oldrel-macos-arm64 0.2.1 1.00 41.00 42.00 OK
r-oldrel-macos-x86_64 0.2.1 4.00 121.00 125.00 OK
r-oldrel-windows-x86_64 0.2.1 12.00 162.00 174.00 OK

Check Details

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/18s] 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(PSsurvival) > > test_check("PSsurvival") Excluding 10 trimmed observations (weights == 0) from calculations. Saving _problems/test-surveff-134.R [ FAIL 1 | WARN 1 | SKIP 0 | PASS 142 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-surveff.R:125:3'): surveff works with Cox censoring and bootstrap variance ── Error: Failed to extract baseline hazard for treatment group 'A'. Error: subscript out of bounds. This may occur if there are insufficient events in this group. Backtrace: ▆ 1. └─PSsurvival::surveff(...) at test-surveff.R:125:3 2. └─PSsurvival:::surveff_cox(...) 3. └─PSsurvival:::surv_cox(...) 4. └─PSsurvival:::estimate_censoring_score_cox(...) 5. └─base::tryCatch(...) 6. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8. └─value[[3L]](cond) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 142 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘PSsurvival-tutorial.Rmd’ using rmarkdown Quitting from PSsurvival-tutorial.Rmd:109-133 [surveff-multi] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! Failed to extract baseline hazard for treatment group 'A'. Error: subscript out of bounds. This may occur if there are insufficient events in this group. --- Backtrace: ▆ 1. └─PSsurvival::surveff(...) 2. └─PSsurvival:::surveff_cox(...) 3. └─PSsurvival:::surv_cox(...) 4. └─PSsurvival:::estimate_censoring_score_cox(...) 5. └─base::tryCatch(...) 6. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8. └─value[[3L]](cond) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'PSsurvival-tutorial.Rmd' failed with diagnostics: Failed to extract baseline hazard for treatment group 'A'. Error: subscript out of bounds. This may occur if there are insufficient events in this group. --- failed re-building ‘PSsurvival-tutorial.Rmd’ SUMMARY: processing the following file failed: ‘PSsurvival-tutorial.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc