CHECK report for MOGAMUN on malbec1
This page was generated on 2021-05-06 12:28:17 -0400 (Thu, 06 May 2021).
To the developers/maintainers of the MOGAMUN package: Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
|
| MOGAMUN 1.0.1 (landing page) Elva-María Novoa-del-Toro
Snapshot Date: 2021-05-05 14:51:38 -0400 (Wed, 05 May 2021) |
URL: https://git.bioconductor.org/packages/MOGAMUN |
Branch: RELEASE_3_12 |
Last Commit: a65e3fb |
Last Changed Date: 2021-02-12 09:58:06 -0400 (Fri, 12 Feb 2021) |
| malbec1 | Linux (Ubuntu 18.04.5 LTS) / x86_64 | OK | OK | OK | | | |
| tokay1 | Windows Server 2012 R2 Standard / x64 | OK | OK | OK | OK | | |
| merida1 | macOS 10.14.6 Mojave / x86_64 | OK | OK | OK | OK | | |
Summary
Command output
Installation output
MOGAMUN.Rcheck/00install.out
Tests output
MOGAMUN.Rcheck/tests/unitTests.Rout
R version 4.0.5 (2021-03-31) -- "Shake and Throw"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> # Our package. Used for the test suite name
> pkgname <- c("MOGAMUN", "RUnit")
>
> for (p in pkgname) {
+ require(p, quietly=TRUE, character.only=TRUE) ||
+ stop("package '", p, "' not found")
+ }
>
> pkgname <- "MOGAMUN"
>
> # Determine which files to load (have to start with test_ and end with .R)
> pattern <- "^test.*\\.R$"
>
> # Which functions to run. Have to start with 'test.'
> testFunctionRegexp = "^test.+"
>
> # Path to the unit tests folder in the package
> directory <- paste0(system.file("tests", package=pkgname), "/")
> if (.Platform$OS.type == "windows") { # windows needs the absolute file names
+ directory <- list.files(directory, pattern = pattern, full.names = TRUE)
+ }
>
> for (dir in directory) {
+ # Define RUnit test suite
+ suite <- defineTestSuite(name=paste(pkgname, "RUnit Tests"),
+ dirs=dir,
+ testFileRegexp=pattern,
+ testFuncRegexp = testFunctionRegexp,
+ rngKind="default",
+ rngNormalKind="default")
+
+ # Run tests
+ result <- runTestSuite(suite)
+
+ # Display result tests on the console
+ printTextProtocol(result)
+
+ # Write results in JUnit-like xml format
+ printJUnitProtocol(result, fileName="junit.xml")
+ }
Executing test function test.mogamun_init ... done successfully.
Executing test function test.mogamun_load_data ... Timing stopped at: 0.028 0 0.031
Error in is.igraph(LoadedData$Multiplex[[i]]) :
could not find function "is.igraph"
done successfully.
Executing test function test.mogamun_postprocess ... [1] "Keeping similar individuals. Inf crowding distance."
Individual AverageNodesScore Density Rank CrowdingDistance
16 57, 106,.... 0.4836834 22.37090 1 Inf
17 52, 53, .... 0.4412627 48.02097 1 Inf
[1] "Run 1. Gen. 1 completed"
[1] "FINISH TIME, RUN 1: 2021-05-06 03:40:41"
Timing stopped at: 2.148 0.008 2.174
Error in checkIdentical(RealOutput, ExpectedOutput) : FALSE
In addition: Warning messages:
1: In dir.create(ResultsPath, recursive = TRUE) :
'/home/biocbuild/bbs-3.12-bioc/R/library/MOGAMUN/SampleResults//Experiment_2021-05-06' already exists
2: In sink(NULL, type = "output") : no sink to remove
done successfully.
Executing test function test.mogamun_run ... [1] "Keeping similar individuals. Inf crowding distance."
Individual AverageNodesScore Density Rank CrowdingDistance
16 57, 106,.... 0.4836834 22.37090 1 Inf
17 52, 53, .... 0.4412627 48.02097 1 Inf
[1] "Run 1. Gen. 1 completed"
[1] "FINISH TIME, RUN 1: 2021-05-06 03:40:43"
Timing stopped at: 1.976 0.024 2.007
Error in checkEquals(length(list.files(ResDirAll)), 2) :
Mean relative difference: 0.75
In addition: Warning messages:
1: In dir.create(ResultsPath, recursive = TRUE) :
'/home/biocbuild/bbs-3.12-bioc/R/library/MOGAMUN/SampleResults//Experiment_2021-05-06' already exists
2: In sink(NULL, type = "output") : no sink to remove
done successfully.
RUNIT TEST PROTOCOL -- Thu May 6 03:40:43 2021
***********************************************
Number of test functions: 4
Number of errors: 1
Number of failures: 2
1 Test Suite :
MOGAMUN RUnit Tests - 4 test functions, 1 error, 2 failures
ERROR in test.mogamun_load_data: Error in is.igraph(LoadedData$Multiplex[[i]]) :
could not find function "is.igraph"
FAILURE in test.mogamun_postprocess: Error in checkIdentical(RealOutput, ExpectedOutput) : FALSE
FAILURE in test.mogamun_run: Error in checkEquals(length(list.files(ResDirAll)), 2) :
Mean relative difference: 0.75
Details
***************************
Test Suite: MOGAMUN RUnit Tests
Test function regexp: ^test.+
Test file regexp: ^test.*\.R$
Involved directory:
/home/biocbuild/bbs-3.12-bioc/R/library/MOGAMUN/tests/
---------------------------
Test file: /home/biocbuild/bbs-3.12-bioc/R/library/MOGAMUN/tests//test.mogamun.R
test.mogamun_init: (13 checks) ... OK (0 seconds)
test.mogamun_load_data: ERROR !!
Error in is.igraph(LoadedData$Multiplex[[i]]) :
could not find function "is.igraph"
test.mogamun_postprocess: FAILURE !! (check number 6)
Error in checkIdentical(RealOutput, ExpectedOutput) : FALSE
test.mogamun_run: FAILURE !! (check number 2)
Error in checkEquals(length(list.files(ResDirAll)), 2) :
Mean relative difference: 0.75
>
>
> proc.time()
user system elapsed
5.224 0.088 5.335
Example timings
MOGAMUN.Rcheck/MOGAMUN-Ex.timings