Last updated on 2017-07-26 01:56:16.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.5.1 | 1.33 | 49.74 | 51.07 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.5.1 | 1.19 | 70.67 | 71.86 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.5.1 | 52.60 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.5.1 | 49.36 | OK | |||
r-devel-windows-ix86+x86_64 | 1.5.1 | 6.00 | 73.00 | 79.00 | OK | |
r-patched-linux-x86_64 | 1.5.1 | 1.20 | 46.19 | 47.39 | OK | |
r-patched-solaris-x86 | 1.5.1 | 56.70 | ERROR | |||
r-release-linux-x86_64 | 1.5.1 | 1.22 | 64.33 | 65.55 | OK | |
r-release-windows-ix86+x86_64 | 1.5.1 | 5.00 | 111.00 | 116.00 | OK | |
r-release-osx-x86_64 | 1.5.1 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.5.1 | 5.00 | 63.00 | 68.00 | OK | |
r-oldrel-osx-x86_64 | 1.5.1 | OK |
Version: 1.5.1
Check: tests
Result: ERROR
Running ‘runTests.R’ [6s/33s]
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/RtmpusaO.W/RLIBS_61f5541e34e1/haploR/unitTests"
Executing test function test_queryHaploreg ... done successfully.
Executing test function test_queryRegulome ... <simpleError in curl::curl_fetch_memory(url, handle = handle): Timeout was reached: Resolving timed out after 10000 milliseconds>
Timing stopped at: 0.553 0.005 11.88
Error in checkEqualsNumeric(dim(x$res.table)[1], 2) :
Mean absolute difference: 2
In addition: Warning messages:
1: In deparse(object[[i]], nlines = 1L) :
it is not known that wchar_t is Unicode on this platform
2: In deparse(object[[i]], nlines = 1L) :
it is not known that wchar_t is Unicode on this platform
3: In deparse(object[[i]], nlines = 1L) :
it is not known that wchar_t is Unicode on this platform
4: In deparse(object[[i]], nlines = 1L) :
it is not known that wchar_t is Unicode on this platform
done successfully.
RUNIT TEST PROTOCOL -- Sun Jul 23 06:36:55 2017
***********************************************
Number of test functions: 2
Number of errors: 0
Number of failures: 1
1 Test Suite :
haploR unit testing - 2 test functions, 0 errors, 1 failure
FAILURE in test_queryRegulome: Error in checkEqualsNumeric(dim(x$res.table)[1], 2) :
Mean absolute difference: 2
Error:
Unit testing failed (#test failures: 1,
#R errors: 0)
Execution halted
Flavor: r-patched-solaris-x86
Version: 1.5.1
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 153-156 (haplor-vignette.Rmd)
Error: processing vignette 'haplor-vignette.Rmd' failed with diagnostics:
undefined columns selected
Execution halted
Flavor: r-patched-solaris-x86