CRAN Package Check Results for Package wally

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.10 8.72 95.52 104.24 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.10 5.96 62.28 68.24 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.10 92.90 OK
r-devel-linux-x86_64-fedora-gcc 1.0.10 67.55 OK
r-devel-windows-x86_64 1.0.10 12.00 105.00 117.00 OK
r-patched-linux-x86_64 1.0.10 6.98 89.34 96.32 OK
r-release-linux-x86_64 1.0.10 7.45 89.54 96.99 OK
r-release-macos-arm64 1.0.10 2.00 26.00 28.00 OK
r-release-macos-x86_64 1.0.10 6.00 93.00 99.00 OK
r-release-windows-x86_64 1.0.10 10.00 98.00 108.00 OK
r-oldrel-macos-arm64 1.0.10 OK
r-oldrel-macos-x86_64 1.0.10 5.00 76.00 81.00 OK
r-oldrel-windows-x86_64 1.0.10 13.00 122.00 135.00 OK

Check Details

Version: 1.0.10
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Paul F. Blanche <paulfblanche@gmail.com>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = c("Paul", "F"), family = "Blanche", role = "aut", email = "paulfblanche@gmail.com"), person(given = c("Thomas", "A."), family = "Gerds", role = "aut", email = "tag@biostat.ku.dk"), person(given = c("Paul", "F."), family = "Blanche", role = "cre", email = "paulfblanche@gmail.com")) as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.10
Check: tests
Result: ERROR Running ‘Reproduce-Fig-paper.R’ [3s/5s] Running ‘test-wally-function.R’ [4s/6s] Running the tests in ‘tests/Reproduce-Fig-paper.R’ failed. Complete output: > > # {{{ load packages > library(survival) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > library(prodlim) > library(riskRegression) riskRegression version 2026.03.11 > library(wally) > # }}} > > # {{{ To save the plots > ## savePlot <- FALSE > ## whereToSave <- "~/research/wallyplot-calibration/" > ## if(savePlot){ > ## setwd(whereToSave) > ## } > # }}} > > # {{{ load data > data(threecity) > head(threecity) time status pi 1 5.100006 0 0.18365422 2 2.631080 0 0.05914116 3 5.099998 0 0.02726414 4 4.777546 2 0.10505747 5 5.099997 0 0.01770303 6 5.099994 0 0.09268762 > ## ?threecity > > data(divat) > head(divat) time status pi 1 6.1083123 0 0.05203018 2 0.9391085 0 0.41687232 3 2.8748220 0 0.09814880 4 1.2649217 1 0.99219744 5 4.0083233 0 0.08902425 6 1.1909977 0 0.35071812 > ## ?divat > # }}} > > > # {{{ Fig 1 of the paper : Calibration plos for the divat data > # Fig 1.a. > CalibFig1a <- wallyPlot(divat$pi, + time=5, + hanging=FALSE, + superuser.hide=FALSE, + superuser.choice=1, + superuser.zoom=TRUE, + formula=Hist(time,status)~1, + data=divat, + ylim=c(-.1,.60), + seed= 123459, + hline.lwd=3, + mar=c(1.01, 4.1, 1.15, 2)) Error in a$specials[[i]] : subscript out of bounds Calls: wallyPlot ... EventHistory.frame -> model.design -> delete.response -> off Execution halted Running the tests in ‘tests/test-wally-function.R’ failed. Complete output: > > # {{{ load packages > library(survival) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > library(testthat) > library(prodlim) > library(riskRegression) riskRegression version 2026.03.11 > library(wally) > # }}} > > > # {{{ "Wally for survival weird formula and hanging" > test_that("Wally for survival weird formula and hanging",{ + set.seed(10) + d <- sampleData(138,outcome="survival") + setnames(d,c("time","event"),c("truc","toto")) + f <- coxph(Surv(truc,toto)~X6+X7,data=d,x=TRUE) + d$pi <- predictRisk(f,times=2,newdata=d) + pred <- as.matrix(d$pi,ncol=1) + ## matrix input + u <- wallyPlot(pred, + time=2, + formula=as.formula(paste("Hist(","truc",",","toto",")~1")), + data=d, + hanging=TRUE, + seed=5987, + colbox="red", + superuser.hide=FALSE, + superuser.choice=NULL, + q=13) + ## model input + v <- wallyPlot(f, + time=2, + formula=as.formula(paste("Hist(","truc",",","toto",")~1")), + data=d, + hanging=TRUE, + seed=5987, + colbox="red", + superuser.hide=FALSE, + superuser.choice=NULL, + q=13) + expect_equal(u,v) + }) ── Error: Wally for survival weird formula and hanging ───────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─riskRegression::predictRisk(f, times = 2, newdata = d) 2. └─riskRegression:::predictRisk.coxph(f, times = 2, newdata = d) 3. └─riskRegression::predictCox(...) 4. └─riskRegression::coxVariableName(object, model.frame = object.modelFrame) 5. └─stats::delete.response(...) 6. └─stats (local) off(a$specials[[i]]) Error: ! Test failed with 1 failure and 0 successes. Backtrace: ▆ 1. └─testthat::test_that(...) 2. └─testthat:::test_code(code, parent.frame()) 3. ├─withr (local) `<fn>`() 4. └─reporter$end_test(context = reporter$.context, test = test) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc