CRAN Package Check Results for Package nricens

Last updated on 2026-10-24 16:51:06 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6 5.75 56.09 61.84 NOTE
r-devel-linux-x86_64-debian-gcc 1.6 5.16 42.76 47.92 ERROR
r-devel-linux-x86_64-fedora-clang 1.6 64.19 OK
r-devel-linux-x86_64-fedora-gcc 1.6 42.27 OK
r-devel-windows-x86_64 1.6 8.00 72.00 80.00 OK
r-patched-linux-x86_64 1.6 5.74 53.02 58.76 OK
r-release-linux-x86_64 1.6 5.88 53.32 59.20 OK
r-release-macos-arm64 1.6 2.00 17.00 19.00 OK
r-release-macos-x86_64 1.6 5.00 55.00 60.00 OK
r-release-windows-x86_64 1.6 8.00 70.00 78.00 OK
r-oldrel-macos-arm64 1.6 OK
r-oldrel-macos-x86_64 1.6 4.00 47.00 51.00 OK
r-oldrel-windows-x86_64 1.6 10.00 79.00 89.00 OK

Check Details

Version: 1.6
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Eisuke Inoue <eisuke.inoue@marianna-u.ac.jp>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Eisuke", family = "Inoue", role = c("aut", "cre"), email = "eisuke.inoue@marianna-u.ac.jp") as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.6
Check: examples
Result: ERROR Running examples in ‘nricens-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: nricens-package > ### Title: R Functions to calculate NRI for comparing time to event and > ### binary response models. > ### Aliases: nricens-package nricens-package > > ### ** Examples > > ## consider pbc dataset in survival package as an example > library(survival) > dat = pbc[1:312,] > dat$sex = ifelse(dat$sex=='f', 1, 0) > > ## predciting the event of 'death' > time = dat$time > event = ifelse(dat$status==2, 1, 0) > > ## standard prediction model: age, bilirubin, and albumin > z.std = as.matrix(subset(dat, select = c(age, bili, albumin))) > > ## new prediction model: age, bilirubin, albumin, and protime > z.new = as.matrix(subset(dat, select = c(age, bili, albumin, protime))) > > ## fitting cox models > mstd = coxph(Surv(time, event) ~ ., data.frame(time, event, z.std), x=TRUE) > mnew = coxph(Surv(time, event) ~ ., data.frame(time, event, z.new), x=TRUE) > > ## Calculation of the risk category NRI at 2000 days > nricens(mdl.std = mstd, mdl.new = mnew, t0 = 2000, cut = c(0.2, 0.4), + niter = 10) Error in a$specials[[i]] : subscript out of bounds Calls: nricens ... survfit.coxph -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc