CRAN Package Check Results for Package kyotil

Last updated on 2024-08-09 12:49:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2024.7-31 12.17 63.34 75.51 ERROR
r-devel-linux-x86_64-debian-gcc 2024.7-31 8.58 43.02 51.60 ERROR
r-devel-linux-x86_64-fedora-clang 2024.7-31 132.05 OK
r-devel-linux-x86_64-fedora-gcc 2024.7-31 136.89 OK
r-devel-windows-x86_64 2024.7-31 17.00 97.00 114.00 OK
r-patched-linux-x86_64 2024.7-31 13.44 61.78 75.22 OK
r-release-linux-x86_64 2024.7-31 12.64 61.11 73.75 OK
r-release-macos-arm64 2024.7-31 54.00 OK
r-release-macos-x86_64 2024.7-31 135.00 OK
r-release-windows-x86_64 2024.7-31 19.00 86.00 105.00 OK
r-oldrel-macos-arm64 2024.7-31 46.00 OK
r-oldrel-macos-x86_64 2024.7-31 114.00 OK
r-oldrel-windows-x86_64 2024.7-31 21.00 99.00 120.00 OK

Check Details

Version: 2024.7-31
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘copula’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2024.7-31
Check: tests
Result: ERROR Running ‘doRUnit.R’ [2s/3s] 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-clang/Work/PKGS/kyotil.Rcheck/tests" $pathToUnitTests [1] "/home/hornik/tmp/scratch/RtmpDTP4Jl/RLIBS_18f7ca67b87f9d/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 ... Timing stopped at: 0.001 0 0.001 Error in loadNamespace(x) : there is no package called 'copula' 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 done successfully. Executing test function test.timedep ... done successfully. ------------------- UNIT TEST SUMMARY --------------------- RUNIT TEST PROTOCOL -- Thu Aug 8 23:57:43 2024 *********************************************** 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.random: Error in loadNamespace(x) : there is no package called 'copula' Error: unit testing failed (#test failures: 0, #R errors: 1) 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 Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2024.7-31
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] "/tmp/Rtmp4qRVPz/RLIBS_334cc683aa91c/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 ... Timing stopped at: 0.001 0 0.001 Error in loadNamespace(x) : there is no package called 'copula' 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 done successfully. Executing test function test.timedep ... done successfully. ------------------- UNIT TEST SUMMARY --------------------- RUNIT TEST PROTOCOL -- Thu Aug 8 15:39:19 2024 *********************************************** 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.random: Error in loadNamespace(x) : there is no package called 'copula' Error: unit testing failed (#test failures: 0, #R errors: 1) 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 Execution halted Flavor: r-devel-linux-x86_64-debian-gcc