CRAN Package Check Results for Package haploR

Last updated on 2019-02-16 13:46:22 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.7 3.16 49.83 52.99 OK
r-devel-linux-x86_64-debian-gcc 2.0.7 2.59 38.30 40.89 OK
r-devel-linux-x86_64-fedora-clang 2.0.7 61.86 OK
r-devel-linux-x86_64-fedora-gcc 2.0.7 58.51 OK
r-devel-windows-ix86+x86_64 2.0.7 9.00 112.00 121.00 OK
r-patched-linux-x86_64 2.0.7 2.52 47.16 49.68 ERROR
r-patched-solaris-x86 2.0.7 86.60 ERROR
r-release-linux-x86_64 2.0.7 OK
r-release-windows-ix86+x86_64 2.0.7 6.00 83.00 89.00 OK
r-release-osx-x86_64 2.0.7 WARN
r-oldrel-windows-ix86+x86_64 2.0.7 10.00 115.00 125.00 OK
r-oldrel-osx-x86_64 2.0.7 WARN

Check Details

Version: 2.0.7
Check: tests
Result: ERROR
     Running ‘runTests.R’ [3s/12s]
    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)) {
     + 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-patched-gcc/Work/PKGS/haploR.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/RtmpCJ6CQ4/RLIBS_21902f19b634/haploR/unitTests"
    
    
    
     Executing test function test_LDlink.LDmatrix ... done successfully.
    
    
    
     Executing test function test_queryHaploreg ... done successfully.
    
    
    
     Executing test function test_queryRegulome ... Timing stopped at: 0.389 0.003 2.286
     Error in checkEqualsNumeric(dim(x$res.table)[1], 2) :
     Mean relative difference: 0.9974684
    
     done successfully.
    
     RUNIT TEST PROTOCOL -- Fri Feb 15 21:10:35 2019
     ***********************************************
     Number of test functions: 3
     Number of errors: 0
     Number of failures: 1
    
    
     1 Test Suite :
     haploR unit testing - 3 test functions, 0 errors, 1 failure
     FAILURE in test_queryRegulome: Error in checkEqualsNumeric(dim(x$res.table)[1], 2) :
     Mean relative difference: 0.9974684
    
     Error:
    
     Unit testing failed (#test failures: 1,
     #R errors: 0)
    
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 2.0.7
Check: tests
Result: ERROR
     Running ‘runTests.R’ [3s/49s]
    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)) {
     + 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/ripley/R/packages/tests32/haploR.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/RtmplBaaiV/RLIBS_5e4063c3aa9/haploR/unitTests"
    
    
    
     Executing test function test_LDlink.LDmatrix ... done successfully.
    
    
    
     Executing test function test_queryHaploreg ... <simpleError in curl::curl_fetch_memory(url, handle = handle): Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received>
     Timing stopped at: 0.021 0.004 10.02
     Error in `[.data.frame`(res.table, , i) : undefined columns selected
     done successfully.
    
    
    
     Executing test function test_queryRegulome ... done successfully.
    
     RUNIT TEST PROTOCOL -- Wed Feb 13 13:23:33 2019
     ***********************************************
     Number of test functions: 3
     Number of errors: 1
     Number of failures: 0
    
    
     1 Test Suite :
     haploR unit testing - 3 test functions, 1 error, 0 failures
     ERROR in test_queryHaploreg: Error in `[.data.frame`(res.table, , i) : undefined columns selected
     Error:
    
     Unit testing failed (#test failures: 0,
     #R errors: 1)
    
     Execution halted
Flavor: r-patched-solaris-x86

Version: 2.0.7
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 335-344 (haplor-vignette.Rmd)
    Error: processing vignette 'haplor-vignette.Rmd' failed with diagnostics:
    there is no package called 'webshot'
    Execution halted
Flavor: r-patched-solaris-x86

Version: 2.0.7
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
    Quitting from lines 335-344 (haplor-vignette.Rmd)
    Error: processing vignette 'haplor-vignette.Rmd' failed with diagnostics:
    cannot open the connection
    Execution halted
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64