Back to Multiple platform build/check report for BioC 3.8
AB[C]DEFGHIJKLMNOPQRSTUVWXYZ

CHECK report for crlmm on merida1

This page was generated on 2019-04-16 11:55:00 -0400 (Tue, 16 Apr 2019).

Package 347/1649HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
crlmm 1.40.0
Benilton S Carvalho
Snapshot Date: 2019-04-15 17:01:12 -0400 (Mon, 15 Apr 2019)
URL: https://git.bioconductor.org/packages/crlmm
Branch: RELEASE_3_8
Last Commit: 95b6fe6
Last Changed Date: 2018-10-30 11:41:45 -0400 (Tue, 30 Oct 2018)
malbec1 Linux (Ubuntu 16.04.6 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
merida1 OS X 10.11.6 El Capitan / x86_64  OK  OK [ OK ] OK UNNEEDED, same version exists in internal repository

Summary

Package: crlmm
Version: 1.40.0
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:crlmm.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings crlmm_1.40.0.tar.gz
StartedAt: 2019-04-15 23:17:33 -0400 (Mon, 15 Apr 2019)
EndedAt: 2019-04-15 23:29:33 -0400 (Mon, 15 Apr 2019)
EllapsedTime: 720.3 seconds
RetCode: 0
Status:  OK 
CheckDir: crlmm.Rcheck
Warnings: 0

Command output

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


* using log directory ‘/Users/biocbuild/bbs-3.8-bioc/meat/crlmm.Rcheck’
* using R version 3.5.3 (2019-03-11)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘crlmm/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘crlmm’ version ‘1.40.0’
* 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 ‘crlmm’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... NOTE
Versioned 'LinkingTo' value for ‘preprocessCore’ is only usable in R >= 3.0.2
* 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 ... NOTE
'library' or 'require' call to ‘RUnit’ in package code.
  Please use :: or requireNamespace() instead.
  See section 'Suggested packages' in the 'Writing R Extensions' manual.
Namespaces in Imports field not imported from:
  ‘SNPchip’ ‘splines’
  All declared Imports should be used.
Unexported object imported by a ':::' call: ‘Biobase:::assayDataEnvLock’
  See the note in ?`:::` about the use of this operator.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
.test: no visible global function definition for ‘defineTestSuite’
.test: no visible global function definition for ‘runTestSuite’
.test: no visible global function definition for ‘printTextProtocol’
calculateRBafCNSet : processByChromosome: no visible global function
  definition for ‘position’
genotypeInf: no visible binding for global variable ‘anno’
krlmm: no visible binding for global variable ‘VGLMparameters’
Undefined global functions or variables:
  VGLMparameters anno defineTestSuite position printTextProtocol
  runTestSuite
* 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 contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking for GNU extensions in Makefiles ... OK
* checking include directives in Makefiles ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
* checking sizes of PDF files under ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU or elapsed time > 5s
            user system elapsed
genotype 105.735  6.582 115.551
crlmm    104.085  2.802 108.055
snprma    19.185  0.998  20.326
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘crlmm_unit_tests.R’
  Running ‘doRUnit.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: 4 NOTEs
See
  ‘/Users/biocbuild/bbs-3.8-bioc/meat/crlmm.Rcheck/00check.log’
for details.



Installation output

crlmm.Rcheck/00install.out

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


* installing to library ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library’
* installing *source* package ‘crlmm’ ...
** libs
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/preprocessCore/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c gtypeCaller.c -o gtypeCaller.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/preprocessCore/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c init.c -o init.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/preprocessCore/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c trimmed.c -o trimmed.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/preprocessCore/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c utils.c -o utils.o
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o crlmm.so gtypeCaller.o init.o trimmed.o utils.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/3.5/Resources/library/crlmm/libs
** R
** data
** 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
* DONE (crlmm)

Tests output

crlmm.Rcheck/tests/crlmm_unit_tests.Rout


R version 3.5.3 (2019-03-11) -- "Great Truth"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.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.

> require("crlmm") || stop("unable to load crlmm package")
Loading required package: crlmm
Loading required package: oligoClasses
Welcome to oligoClasses version 1.44.0
Loading required package: preprocessCore
Welcome to crlmm version 1.40.0
[1] TRUE
> crlmm:::.test()
Loading required package: genomewidesnp6Crlmm
Annotation for genomewidesnp6Crlmm version 1.0.7 supports UCSC builds hg18 and hg19.
Loading required package: hapmapsnp6
/-------------------------------------------\
|         SAMPLE HAPMAP SNP 6.0             |
|-------------------------------------------|
| Data obtained from http://www.hapmap.org  |
| This package is meant to be used only for |
| demonstration of BioConductor packages.   |
| Access http://www.hapmap.org for details. |
|-------------------------------------------|
| The contents of this package are provided |
| in good faith and the maintainer does not |
| warrant their accuracy.                   |
\-------------------------------------------/
Loading annotations and mixture model parameters.
Processing 3 files.

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |=======================                                               |  33%
  |                                                                            
  |===============================================                       |  67%
  |                                                                            
  |======================================================================| 100%
Loading annotations.
Determining gender.
Calling 906600 SNPs for recalibration... Done.
Estimating recalibration parameters.
Calling 906600 SNPs... Done.
Error in crlmm(cels[c(1, 1, 2)]) : sample identifiers are not unique
In addition: Warning message:
In crlmmGT(res[["A"]], res[["B"]], res[["SNR"]], res[["mixtureParams"]],  :
  Recalibration not possible. Possible cause: small sample size.


RUNIT TEST PROTOCOL -- Mon Apr 15 23:27:28 2019 
*********************************************** 
Number of test functions: 3 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
crlmm RUnit Tests - 3 test functions, 0 errors, 0 failures
Number of test functions: 3 
Number of errors: 0 
Number of failures: 0 
> 
> proc.time()
   user  system elapsed 
114.469   3.135 118.320 

crlmm.Rcheck/tests/doRUnit.Rout


R version 3.5.3 (2019-03-11) -- "Great Truth"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.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.

> ## from xmapcore package
> if( require( "RUnit", quietly=TRUE ) ) {
+ 	pkg <- "crlmm"
+ 
+ 	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 )
+ 
+ 	##xmap.clear.cache()
+ 
+ 	## do not fail on warnings (needed for crlmm() test)
+ 	options(warn=0)
+ 
+ 	## Get the pattern (if there is one?)
+ 	patt <- Sys.getenv( "RUNITFILEPATTERN" )
+ 	if( is.null( patt ) || nchar( patt ) == 0 ) {
+ 		testSuite <- defineTestSuite(name=paste( pkg, "unit testing" ),
+ 					     dirs=path,
+ 					     testFileRegexp=paste( "^test.+", patt, "\\.[rR]$", sep="" ))
+ 	} else {
+ 		##testSuite <- defineTestSuite( name=paste( pkg, "unit testing" ), testFileRegexp=paste( "^runit\\.", patt, "\\.[rR]$", sep="" ), dirs=path )
+ 		testSuite <- defineTestSuite(name=paste( pkg, "unit testing" ),
+ 					     testFileRegexp=paste( "^test.+", patt, "\\.[rR]$", sep="" ),
+ 					     dirs=path )
+ 	}
+ 	tests <- runTestSuite( testSuite )
+ 
+ 	pathReport <- file.path( path, "report" )
+ 
+ 	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="" ) )
+ 
+ 	printHTMLProtocol( tests, fileName=paste( pathReport, ".html", sep="" ) )
+ 
+ 	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] "crlmm"

$getwd
[1] "/Users/biocbuild/bbs-3.8-bioc/meat/crlmm.Rcheck/tests"

$pathToUnitTests
[1] "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/crlmm/unitTests"

Loading required package: oligoClasses
Welcome to oligoClasses version 1.44.0
Loading required package: preprocessCore
Welcome to crlmm version 1.40.0


Executing test function test_crlmm  ... Loading required package: genomewidesnp6Crlmm
Annotation for genomewidesnp6Crlmm version 1.0.7 supports UCSC builds hg18 and hg19.
Loading required package: hapmapsnp6
/-------------------------------------------\
|         SAMPLE HAPMAP SNP 6.0             |
|-------------------------------------------|
| Data obtained from http://www.hapmap.org  |
| This package is meant to be used only for |
| demonstration of BioConductor packages.   |
| Access http://www.hapmap.org for details. |
|-------------------------------------------|
| The contents of this package are provided |
| in good faith and the maintainer does not |
| warrant their accuracy.                   |
\-------------------------------------------/
Loading annotations and mixture model parameters.
Processing 3 files.

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |=======================                                               |  33%
  |                                                                            
  |===============================================                       |  67%
  |                                                                            
  |======================================================================| 100%
Loading annotations.
Determining gender.
Calling 906600 SNPs for recalibration... Done.
Estimating recalibration parameters.
Calling 906600 SNPs... Done.
 done successfully.



Executing test function test_duplicates  ... Error in crlmm(cels[c(1, 1, 2)]) : sample identifiers are not unique
In addition: Warning message:
In crlmmGT(res[["A"]], res[["B"]], res[["SNR"]], res[["mixtureParams"]],  :
  Recalibration not possible. Possible cause: small sample size.
 done successfully.



Executing test function test_dataExamples  ...  done successfully.

------------------- UNIT TEST SUMMARY ---------------------

RUNIT TEST PROTOCOL -- Mon Apr 15 23:29:27 2019 
*********************************************** 
Number of test functions: 3 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
crlmm unit testing - 3 test functions, 0 errors, 0 failures
> 
> proc.time()
   user  system elapsed 
114.442   3.359 118.646 

Example timings

crlmm.Rcheck/crlmm-Ex.timings

nameusersystemelapsed
ListClassConstructors1.6230.0451.691
PredictionRegion-class0.0020.0000.002
batchStatisticAccessors0.2410.0190.261
calculateRBaf0.8380.0340.876
celfile-utils3.0380.2973.374
cnSetExample0.5790.0480.633
constructInf0.0010.0000.000
copynumberAccessors0.0010.0000.001
crlmm104.085 2.802108.055
genotype.Illumina0.0010.0010.001
genotype105.735 6.582115.551
genotypeInf0.0000.0010.000
genotypes0.0110.0000.011
plotSNPs000
posteriorProbability1.4050.1841.597
predictionRegion0.4060.0200.427
preprocessInf000
readGenCallOutput000
readIdatFiles0.0000.0010.000
snprma19.185 0.99820.326
validCdfNames000
xyplot0.6360.0510.690