CRAN Package Check Results for Package haploR

Last updated on 2025-05-08 01:51:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.0.7 5.85 57.62 63.47 OK
r-devel-linux-x86_64-debian-gcc 4.0.7 4.65 41.03 45.68 ERROR
r-devel-linux-x86_64-fedora-clang 4.0.7 99.61 OK
r-devel-linux-x86_64-fedora-gcc 4.0.7 108.30 OK
r-devel-windows-x86_64 4.0.7 8.00 82.00 90.00 OK
r-patched-linux-x86_64 4.0.7 5.31 53.99 59.30 OK
r-release-linux-x86_64 4.0.7 5.77 52.95 58.72 OK
r-release-macos-arm64 4.0.7 82.00 OK
r-release-macos-x86_64 4.0.7 93.00 OK
r-release-windows-x86_64 4.0.7 8.00 188.00 196.00 ERROR
r-oldrel-macos-arm64 4.0.7 59.00 OK
r-oldrel-macos-x86_64 4.0.7 88.00 OK
r-oldrel-windows-x86_64 4.0.7 10.00 95.00 105.00 OK

Additional issues

noLD

Check Details

Version: 4.0.7
Check: examples
Result: ERROR Running examples in ‘haploR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: getExtendedView > ### Title: This function queries HaploReg web-based tool in order to > ### Extended view for SNP of interest > ### Aliases: getExtendedView > > ### ** Examples > > tables <- getExtendedView(snp="rs10048158") Error in tables[[1]] : subscript out of bounds Calls: getExtendedView Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 4.0.7
Check: tests
Result: ERROR Running ‘runTests.R’ [1s/125s] Running the tests in ‘tests/runTests.R’ failed. Complete output: > # Adapted from: http://rwiki.sciviews.org/doku.php?id=developers:runit > > if( identical( .Platform$OS.type, "windows" ) && + identical( .Platform$r_arch, "x64" ) ){ + print( "unit tests not run on windows 64 (workaround alert)" ) + } else { + if(require("RUnit", quietly = TRUE)) { + require("RCurl", quietly = TRUE) + pkg <- "haploR" + if(Sys.getenv("RCMDCHECK") == "FALSE") { + path <- file.path(getwd(), "..", "inst", "unitTests") + } else { + path <- system.file(package=pkg, "unitTests") + } + + cat("\nRunning unit tests:\n") + print(list(pkg=pkg, getwd=getwd(), pathToUnitTests=path)) + + library(package=pkg, character.only=TRUE) + + # Define tests + testSuite <- defineTestSuite(name=paste(pkg, "unit testing"), + dirs=path, + testFuncRegexp = "^test_+", + testFileRegexp = "^test_+") + + # Run + tests <- runTestSuite(testSuite) + + # Default report name + pathReport <- file.path(path, "report") + + # Report to stdout + printTextProtocol(tests, showDetails=FALSE) + + # 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 { + print( "package RUnit not available, cannot run unit tests" ) + } + } Running unit tests: $pkg [1] "haploR" $getwd [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/haploR.Rcheck/tests" $pathToUnitTests [1] "/tmp/RtmpCHkI8h/RLIBS_34b1a4edb456/haploR/unitTests" Executing test function test_queryHaploreg ... Timing stopped at: 0.066 0.017 121.7 Error in if (sp[[1]][i] != "") { : missing value where TRUE/FALSE needed 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 done successfully. Executing test function test_queryRegulome ... No encoding supplied: defaulting to UTF-8. done successfully. RUNIT TEST PROTOCOL -- Wed May 7 16:12:46 2025 *********************************************** Number of test functions: 2 Number of errors: 1 Number of failures: 0 1 Test Suite : haploR unit testing - 2 test functions, 1 error, 0 failures ERROR in test_queryHaploreg: Error in if (sp[[1]][i] != "") { : missing value where TRUE/FALSE needed 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

Version: 4.0.7
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘haplor-vignette.Rmd’ using rmarkdown Quitting from haplor-vignette.Rmd:153-157 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `if (sp[[1]][i] != "") ...`: ! missing value where TRUE/FALSE needed --- Backtrace: ▆ 1. └─haploR::queryHaploreg(query = c("rs10048158", "rs4791078")) 2. └─haploR:::simpleQuery(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'haplor-vignette.Rmd' failed with diagnostics: missing value where TRUE/FALSE needed --- failed re-building ‘haplor-vignette.Rmd’ SUMMARY: processing the following file failed: ‘haplor-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 4.0.7
Check: examples
Result: ERROR Running examples in 'haploR-Ex.R' failed The error most likely occurred in: > ### Name: getExtendedView > ### Title: This function queries HaploReg web-based tool in order to > ### Extended view for SNP of interest > ### Aliases: getExtendedView > > ### ** Examples > > tables <- getExtendedView(snp="rs10048158") Error in tables[[1]] : subscript out of bounds Calls: getExtendedView Execution halted Flavor: r-release-windows-x86_64

Version: 4.0.7
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'haplor-vignette.Rmd' using rmarkdown Quitting from haplor-vignette.Rmd:153-157 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `if (sp[[1]][i] != "") ...`: ! missing value where TRUE/FALSE needed --- Backtrace: ▆ 1. └─haploR::queryHaploreg(query = c("rs10048158", "rs4791078")) 2. └─haploR:::simpleQuery(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'haplor-vignette.Rmd' failed with diagnostics: missing value where TRUE/FALSE needed --- failed re-building 'haplor-vignette.Rmd' SUMMARY: processing the following file failed: 'haplor-vignette.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-release-windows-x86_64