Last updated on 2022-08-15 08:49:59 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2020.5-20 | 13.57 | 42.19 | 55.76 | WARN | |
r-devel-linux-x86_64-debian-gcc | 2020.5-20 | 9.69 | 32.13 | 41.82 | OK | |
r-devel-linux-x86_64-fedora-clang | 2020.5-20 | 87.36 | WARN | |||
r-devel-linux-x86_64-fedora-gcc | 2020.5-20 | 76.70 | OK | |||
r-devel-windows-x86_64 | 2020.5-20 | 33.00 | 83.00 | 116.00 | ERROR | |
r-patched-linux-x86_64 | 2020.5-20 | 11.11 | 41.69 | 52.80 | OK | |
r-release-linux-x86_64 | 2020.5-20 | 11.49 | 41.26 | 52.75 | OK | |
r-release-macos-arm64 | 2020.5-20 | 30.00 | OK | |||
r-release-macos-x86_64 | 2020.5-20 | 34.00 | OK | |||
r-release-windows-x86_64 | 2020.5-20 | 28.00 | 87.00 | 115.00 | OK | |
r-oldrel-macos-arm64 | 2020.5-20 | 36.00 | OK | |||
r-oldrel-macos-x86_64 | 2020.5-20 | 54.00 | OK | |||
r-oldrel-windows-ix86+x86_64 | 2020.5-20 | 34.00 | 93.00 | 127.00 | OK |
Version: 2020.5-20
Check: whether package can be installed
Result: WARN
Found the following significant warnings:
ProteinSequence.cpp:347:7: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang
Version: 2020.5-20
Check: tests
Result: ERROR
Running 'doRUnit.R' [7s]
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 <- "krm" # <-- 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] "krm"
$getwd
[1] "d:/Rcompile/CRANpkg/local/4.3/krm.Rcheck/tests"
$pathToUnitTests
[1] "D:/temp/RtmpiI0Y0E/RLIBS_dc04439e53ad/krm/unitTests"
Loading required package: kyotil
Executing test function test.getSeqKernel ... done successfully.
Executing test function test.krm.mos.test ... Loading required namespace: MASS
Total time passed: Time difference of 3.641244 secs
num [1:100, 1:100] 1 0.01383 0.03779 0.00277 0.00143 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:100] "1" "2" "3" "4" ...
..$ : chr [1:100] "1" "2" "3" "4" ...
num [1:100, 1:100] 0.97747 -0.02172 0.0023 -0.00945 -0.01565 ...
num [1:100, 1:100] 1 0.996 0.997 0.994 0.994 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:100] "1" "2" "3" "4" ...
..$ : chr [1:100] "1" "2" "3" "4" ...
num [1:100, 1:100] 0.97747 -0.02172 0.0023 -0.00945 -0.01565 ...
Total time passed: Time difference of 1.185989 secs
Timing stopped at: 4.57 0.33 4.91
Error in checkEqualsNumeric(test$p.values, c(0.87, NA, 0.89, NA), tolerance = tolerance) :
Mean relative difference: 0.04142012
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.krm.score.test ... done successfully.
------------------- UNIT TEST SUMMARY ---------------------
RUNIT TEST PROTOCOL -- Sat Aug 13 16:14:19 2022
***********************************************
Number of test functions: 3
Number of errors: 0
Number of failures: 1
1 Test Suite :
krm unit testing - 3 test functions, 0 errors, 1 failure
FAILURE in test.krm.mos.test: Error in checkEqualsNumeric(test$p.values, c(0.87, NA, 0.89, NA), tolerance = tolerance) :
Mean relative difference: 0.04142012
Error:
unit testing failed (#test failures: 1, #R errors: 0)
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-windows-x86_64