CRAN Package Check Results for Package kyotil

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2024.11-01 12.91 76.65 89.56 OK
r-devel-linux-x86_64-debian-gcc 2024.11-01 9.48 52.46 61.94 ERROR
r-devel-linux-x86_64-fedora-clang 2024.11-01 63.56 OK
r-devel-linux-x86_64-fedora-gcc 2024.11-01 9.00 53.96 62.96 OK
r-devel-windows-x86_64 2024.11-01 15.00 158.00 173.00 OK
r-patched-linux-x86_64 2024.11-01 14.27 67.75 82.02 OK
r-release-linux-x86_64 2024.11-01 12.15 67.54 79.69 OK
r-release-macos-arm64 2024.11-01 3.00 22.00 25.00 OK
r-release-macos-x86_64 2024.11-01 10.00 93.00 103.00 OK
r-release-windows-x86_64 2024.11-01 19.00 92.00 111.00 OK
r-oldrel-macos-arm64 2024.11-01 OK
r-oldrel-macos-x86_64 2024.11-01 9.00 80.00 89.00 OK
r-oldrel-windows-x86_64 2024.11-01 23.00 108.00 131.00 OK

Check Details

Version: 2024.11-01
Check: examples
Result: ERROR Running examples in ‘kyotil-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cox.zph.2 > ### Title: Test the Proportional Hazards Assumption of a Cox Regression (a > ### slightly modified version) > ### Aliases: cox.zph.2 > > ### ** Examples > > library(survival) > fit <- coxph(Surv(futime, fustat) ~ age + ecog.ps, + data=ovarian) > temp <- cox.zph(fit) Error in a$specials[[i]] : subscript out of bounds Calls: cox.zph ... model.matrix -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2024.11-01
Check: tests
Result: ERROR Running ‘doRUnit.R’ [2s/2s] Running the tests in ‘tests/doRUnit.R’ failed. Complete output: > ## unit tests will not be done if RUnit is not available > if(require("RUnit", quietly=TRUE)) { + + ## --- Setup --- + + pkg <- "kyotil" # <-- Change to package name! + if(Sys.getenv("RCMDCHECK") == "FALSE") { + ## Path to unit tests for standalone running under Makefile (not R CMD check) + ## PKG/tests/../inst/unitTests + path <- file.path(getwd(), "unitTests") + } else { + ## Path to unit tests for R CMD check + ## PKG.Rcheck/tests/../PKG/unitTests + path <- system.file("unitTests", package=pkg) + } + cat("\nRunning unit tests\n") + print(list(pkg=pkg, getwd=getwd(), pathToUnitTests=path)) + + library(package=pkg, character.only=TRUE) + + ## If desired, load the name space to allow testing of private functions + ## if (is.element(pkg, loadedNamespaces())) + ## attach(loadNamespace(pkg), name=paste("namespace", pkg, sep=":"), pos=3) + ## + ## or simply call PKG:::myPrivateFunction() in tests + + ## --- Testing --- + + ## Define tests + testSuite <- defineTestSuite(name=paste(pkg, "unit testing"), + dirs=path) + ## Run + tests <- runTestSuite(testSuite) + + ## Default report name + pathReport <- tempdir() + + ## Report to stdout and text files + cat("------------------- UNIT TEST SUMMARY ---------------------\n\n") + printTextProtocol(tests, showDetails=FALSE) + # printTextProtocol(tests, showDetails=FALSE, + # fileName=paste(pathReport, "Summary.txt", sep="")) + # printTextProtocol(tests, showDetails=TRUE, + # fileName=paste(pathReport, ".txt", sep="")) + # + # ## Report to HTML file + # printHTMLProtocol(tests, fileName=paste(pathReport, ".html", sep="")) + + ## Return stop() to cause R CMD check stop in case of + ## - failures i.e. FALSE to unit tests or + ## - errors i.e. R errors + tmp <- getErrors(tests) + if(tmp$nFail > 0 | tmp$nErr > 0) { + stop(paste("\n\nunit testing failed (#test failures: ", tmp$nFail, + ", #R errors: ", tmp$nErr, ")\n\n", sep="")) + } + } else { + warning("cannot run unit tests -- package RUnit is not available") + } Running unit tests $pkg [1] "kyotil" $getwd [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kyotil.Rcheck/tests" $pathToUnitTests [1] "/home/hornik/tmp/scratch/RtmprEelTN/RLIBS_20656e545c349e/kyotil/unitTests" Executing test function test.kernel ... Error in getKernel(X = X, kernel = kernel, para = para, X2 = X2) : Values in 'X' should be in {0,1,2} or in {k,k+1,k+2} for some k in R In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry Error in getKernel(X = X, kernel = kernel, para = para, X2 = X2) : Values in 'X' should be in {0,1,2} or in {k,k+1,k+2} for some k in R Error in getKernel(X = X, kernel = kernel, para = para, X2 = X2) : negative weights encountered for IBS or HAMMING kernel Error in getKernel(X = X, kernel = kernel, para = para, X2 = X2) : negative weights encountered for IBS or HAMMING kernel done successfully. Executing test function test.matrix2 ... done successfully. Executing test function test.random ... done successfully. Executing test function test.timedep ... Timing stopped at: 0.173 0.007 0.266 Error in a$specials[[i]] : subscript out of bounds In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 3: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 4: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 5: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 6: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry done successfully. ------------------- UNIT TEST SUMMARY --------------------- RUNIT TEST PROTOCOL -- Fri Oct 23 18:20:02 2026 *********************************************** Number of test functions: 4 Number of errors: 1 Number of failures: 0 1 Test Suite : kyotil unit testing - 4 test functions, 1 error, 0 failures ERROR in test.timedep: Error in a$specials[[i]] : subscript out of bounds Error: unit testing failed (#test failures: 0, #R errors: 1) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc