Back to Multiple platform build/check report for BioC 3.12
ABCDEFGHIJKL[M]NOPQRSTUVWXYZ

CHECK report for MOGAMUN on merida1

This page was generated on 2021-05-06 12:35:47 -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.
Package 1135/1974HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
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)
malbec1Linux (Ubuntu 18.04.5 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version exists in internal repository
tokay1Windows Server 2012 R2 Standard / x64  OK    OK    OK    OK  UNNEEDED, same version exists in internal repository
merida1macOS 10.14.6 Mojave / x86_64  OK    OK    OK    OK  UNNEEDED, same version exists in internal repository

Summary

Package: MOGAMUN
Version: 1.0.1
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:MOGAMUN.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings MOGAMUN_1.0.1.tar.gz
StartedAt: 2021-05-06 03:51:49 -0400 (Thu, 06 May 2021)
EndedAt: 2021-05-06 03:52:50 -0400 (Thu, 06 May 2021)
EllapsedTime: 61.2 seconds
RetCode: 0
Status:   OK  
CheckDir: MOGAMUN.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:MOGAMUN.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings MOGAMUN_1.0.1.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.12-bioc/meat/MOGAMUN.Rcheck’
* using R version 4.0.5 (2021-03-31)
* using platform: x86_64-apple-darwin17.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘MOGAMUN/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘MOGAMUN’ version ‘1.0.1’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘MOGAMUN’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘unitTests.R’
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: OK


Installation output

MOGAMUN.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD INSTALL MOGAMUN
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’
* installing *source* package ‘MOGAMUN’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (MOGAMUN)

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-apple-darwin17.0 (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.037 0.004 0.041
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:52:41"
Timing stopped at: 1.865 0.067 1.94
Error in checkIdentical(RealOutput, ExpectedOutput) : FALSE 
 
In addition: Warning messages:
1: In dir.create(ResultsPath, recursive = TRUE) :
  '/Library/Frameworks/R.framework/Versions/4.0/Resources/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:52:43"
Timing stopped at: 1.691 0.064 1.757
Error in checkEquals(length(list.files(ResDirAll)), 2) : 
  Mean relative difference: 0.75

In addition: Warning messages:
1: In dir.create(ResultsPath, recursive = TRUE) :
  '/Library/Frameworks/R.framework/Versions/4.0/Resources/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:52: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: 
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/MOGAMUN/tests/ 
--------------------------- 
Test file: /Library/Frameworks/R.framework/Versions/4.0/Resources/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.094   0.277   5.362 

Example timings

MOGAMUN.Rcheck/MOGAMUN-Ex.timings

nameusersystemelapsed
mogamun_init0.0020.0010.003
mogamun_load_data0.0390.0050.044
mogamun_postprocess2.1240.0962.230
mogamun_run1.7850.0531.839