CRAN Package Check Results for Package surrosurv

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.27 14.90 118.54 133.44 NOTE
r-devel-linux-x86_64-debian-gcc 1.1.27 10.88 81.01 91.89 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.27 14.00 101.56 115.56 OK
r-devel-linux-x86_64-fedora-gcc 1.1.27 10.00 82.30 92.30 OK
r-devel-windows-x86_64 1.1.27 17.00 127.00 144.00 OK
r-patched-linux-x86_64 1.1.27 13.99 111.14 125.13 OK
r-release-linux-x86_64 1.1.27 14.04 111.23 125.27 OK
r-release-macos-arm64 1.1.27 4.00 31.00 35.00 OK
r-release-macos-x86_64 1.1.27 11.00 145.00 156.00 OK
r-release-windows-x86_64 1.1.27 17.00 117.00 134.00 OK
r-oldrel-macos-arm64 1.1.27 OK
r-oldrel-macos-x86_64 1.1.27 10.00 123.00 133.00 OK
r-oldrel-windows-x86_64 1.1.27 23.00 149.00 172.00 OK

Check Details

Version: 1.1.27
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Dan Chaltiel <dan.chaltiel@gustaveroussy.fr>’ Found the following (possibly) invalid URLs: URL: From: inst/doc/surrosurv.pdf Message: Empty URL Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.1.27
Check: examples
Result: ERROR Running examples in ‘surrosurv-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: poissonize > ### Title: Transform survival data for fitting a Poisson model > ### Aliases: poissonize plotsson > ### Keywords: Poisson Survival data > > ### ** Examples > > ################################################################################ > # Example 1 - KIDNEY data # > ################################################################################ > library(survival) > data(kidney) Warning in data(kidney) : data set ‘kidney’ not found > kidney <- kidney[1:(nrow(kidney)/2)*2,] > head(kidney) id time status age sex disease frail 2 1 16 1 28 1 Other 2.3 4 2 13 0 48 2 GN 1.9 6 3 28 1 32 1 Other 1.2 8 4 318 1 32 2 Other 0.5 10 5 12 1 10 1 Other 1.5 12 6 245 1 17 2 Other 1.1 > > par(mfrow=c(1, 3)) > for (int in c(50, 20, 10)) { + head(wdata1 <- poissonize(kidney, interval.width = int, + factors = c('disease'), compress = FALSE)) + head(wdata2 <- poissonize(kidney, interval.width = int, + factors = c('disease'), compress = TRUE)) + + fitcox <- (coxph(Surv(time, status) ~ disease, data = kidney)) + fitpoi1 <- glm(event ~ -1 + interval + disease + offset(log(time)), + data = wdata1, family = 'poisson') + fitpoi2 <- glm(m ~ -1 + interval + offset(log(Rt)) + disease, + data = wdata2, family = 'poisson') + cox.base <- basehaz(fitcox, centered = FALSE) + plot(stepfun(cox.base$time[-nrow(cox.base)], exp(-cox.base$hazard)), + ylim = 0:1, xlim = c(0, max(cox.base$time)), + do.points = FALSE, verticals = FALSE, xaxs = 'i', + main = paste0('KIDNEY data set\nInterval width = ', int), + xlab = 'Time', ylab = 'Survival probability') + plotsson(fitpoi1, 'Surv', add = TRUE, col = 2, lty = 2) + plotsson(fitpoi2, 'Surv', add = TRUE, col = 3, lty = 3) + legend('topright', col = 1:3, lty = 1:3, + legend = c('Breslow (Cox)', 'Poisson', + 'Poisson (compressed dataset)')) + } Error in a$specials[[i]] : subscript out of bounds Calls: basehaz ... survfit.coxph -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc