CRAN Package Check Results for Package SMPracticals

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4-3.2 7.68 103.03 110.71 OK
r-devel-linux-x86_64-debian-gcc 1.4-3.2 6.19 77.76 83.95 ERROR
r-devel-linux-x86_64-fedora-clang 1.4-3.2 75.40 OK
r-devel-linux-x86_64-fedora-gcc 1.4-3.2 75.95 OK
r-devel-windows-x86_64 1.4-3.2 10.00 137.00 147.00 OK
r-patched-linux-x86_64 1.4-3.2 8.97 70.53 79.50 OK
r-release-linux-x86_64 1.4-3.2 7.31 70.10 77.41 OK
r-release-macos-arm64 1.4-3.2 2.00 20.00 22.00 OK
r-release-macos-x86_64 1.4-3.2 6.00 72.00 78.00 OK
r-release-windows-x86_64 1.4-3.2 10.00 107.00 117.00 OK
r-oldrel-macos-arm64 1.4-3.2 OK
r-oldrel-macos-x86_64 1.4-3.2 6.00 77.00 83.00 OK
r-oldrel-windows-x86_64 1.4-3.2 13.00 124.00 137.00 OK

Check Details

Version: 1.4-3.2
Check: examples
Result: ERROR Running examples in ‘SMPracticals-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: pbc > ### Title: Mayo Clinic Primary Biliary Cirrhosis Data > ### Aliases: pbc > ### Keywords: datasets > > ### ** Examples > > data(pbc) > # to make version of dataset used in book > pbcm <- pbc[(pbc$trt!=-9),] > pbcm$copper[(pbcm$copper==-9)] <- median(pbcm$copper[(pbcm$copper!=-9)]) > pbcm$platelet[(pbcm$platelet==-9)] <- median(pbcm$platelet[(pbcm$platelet!=-9)]) > attach(pbcm) > > library(survival) Attaching package: ‘survival’ The following object is masked _by_ ‘.GlobalEnv’: pbc The following objects are masked from ‘package:SMPracticals’: aml, pbc > par(mfrow=c(1,2),pty="s") > plot(survfit(Surv(time,status)~trt),ylim=c(0,1),lty=c(1,2), + ylab="Survival probability",xlab="Time (days)") > plot(survfit(coxph(Surv(time,status)~trt+strata(sex))),ylim=c(0,1),lty=c(1,2), + ylab="Survival probability",xlab="Time (days)") Error in a$specials[[i]] : subscript out of bounds Calls: plot ... survfit.coxph -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc