Back to Multiple platform build/check report for BioC 3.7
A[B]CDEFGHIJKLMNOPQRSTUVWXYZ

CHECK report for Biobase on malbec2

This page was generated on 2018-10-17 08:20:54 -0400 (Wed, 17 Oct 2018).

Package 122/1561HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
Biobase 2.40.0
Bioconductor Package Maintainer
Snapshot Date: 2018-10-15 16:45:08 -0400 (Mon, 15 Oct 2018)
URL: https://git.bioconductor.org/packages/Biobase
Branch: RELEASE_3_7
Last Commit: 6555edb
Last Changed Date: 2018-04-30 10:34:53 -0400 (Mon, 30 Apr 2018)
malbec2 Linux (Ubuntu 16.04.1 LTS) / x86_64  OK  OK [ OK ]UNNEEDED, same version exists in internal repository
tokay2 Windows Server 2012 R2 Standard / x64  OK  OK  OK  OK UNNEEDED, same version exists in internal repository
merida2 OS X 10.11.6 El Capitan / x86_64  OK  OK  OK  OK UNNEEDED, same version exists in internal repository

Summary

Package: Biobase
Version: 2.40.0
Command: /home/biocbuild/bbs-3.7-bioc/R/bin/R CMD check --install=check:Biobase.install-out.txt --library=/home/biocbuild/bbs-3.7-bioc/R/library --no-vignettes --timings Biobase_2.40.0.tar.gz
StartedAt: 2018-10-15 22:44:36 -0400 (Mon, 15 Oct 2018)
EndedAt: 2018-10-15 22:45:37 -0400 (Mon, 15 Oct 2018)
EllapsedTime: 61.4 seconds
RetCode: 0
Status:  OK 
CheckDir: Biobase.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.7-bioc/R/bin/R CMD check --install=check:Biobase.install-out.txt --library=/home/biocbuild/bbs-3.7-bioc/R/library --no-vignettes --timings Biobase_2.40.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.7-bioc/meat/Biobase.Rcheck’
* using R version 3.5.1 Patched (2018-07-12 r74967)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘Biobase/DESCRIPTION’ ... OK
* this is package ‘Biobase’ version ‘2.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 ‘Biobase’ 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 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 compiled code ... NOTE
Note: information on .o files is not available
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘test-all.R’
  Running ‘test-rowMedians.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: 1 NOTE
See
  ‘/home/biocbuild/bbs-3.7-bioc/meat/Biobase.Rcheck/00check.log’
for details.



Installation output

Biobase.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.7-bioc/R/bin/R CMD INSTALL Biobase
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.7-bioc/R/library’
* installing *source* package ‘Biobase’ ...
** libs
gcc -I"/home/biocbuild/bbs-3.7-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c Rinit.c -o Rinit.o
gcc -I"/home/biocbuild/bbs-3.7-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c anyMissing.c -o anyMissing.o
gcc -I"/home/biocbuild/bbs-3.7-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c envir.c -o envir.o
gcc -I"/home/biocbuild/bbs-3.7-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c matchpt.c -o matchpt.o
gcc -I"/home/biocbuild/bbs-3.7-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c rowMedians.c -o rowMedians.o
gcc -I"/home/biocbuild/bbs-3.7-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c sublist_extract.c -o sublist_extract.o
gcc -shared -L/home/biocbuild/bbs-3.7-bioc/R/lib -L/usr/local/lib -o Biobase.so Rinit.o anyMissing.o envir.o matchpt.o rowMedians.o sublist_extract.o -L/home/biocbuild/bbs-3.7-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.7-bioc/R/library/Biobase/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 (Biobase)

Tests output

Biobase.Rcheck/tests/test-all.Rout


R version 3.5.1 Patched (2018-07-12 r74967) -- "Feather Spray"
Copyright (C) 2018 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.

> BiocGenerics:::testPackage("Biobase")

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colMeans, colSums, colnames,
    dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
    intersect, is.unsorted, lapply, lengths, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
    rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.



RUNIT TEST PROTOCOL -- Mon Oct 15 22:45:18 2018 
*********************************************** 
Number of test functions: 101 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
Biobase RUnit Tests - 101 test functions, 0 errors, 0 failures
Number of test functions: 101 
Number of errors: 0 
Number of failures: 0 
> 
> proc.time()
   user  system elapsed 
 10.236   0.064  10.423 

Biobase.Rcheck/tests/test-rowMedians.Rout


R version 3.5.1 Patched (2018-07-12 r74967) -- "Feather Spray"
Copyright (C) 2018 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.

> library(Biobase)
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colMeans, colSums, colnames,
    dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
    intersect, is.unsorted, lapply, lengths, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
    rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

> set.seed(1)
> 
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # Consistency checks
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> # rowMedians() by rowQ()
> rowMedians2 <- function(imat) {
+   nr <- ncol(imat)
+   half <- (nr + 1)/2
+   if (nr%%2 == 1) {
+     return(rowQ(imat, half))
+   } else {
+     return((rowQ(imat, half) + rowQ(imat, half+1))/2)
+   }
+ }
> 
> cat("Consistency checks:\n")
Consistency checks:
> set.seed(1)
> for (kk in 1:20) {
+   cat("Random test #", kk, "\n", sep="")
+ 
+   # Simulate data in a matrix of any shape
+   nrow <- sample(2000, size=1)
+   ncol <- sample(2000, size=1)
+   x <- rnorm(nrow*ncol)
+   dim(x) <- c(nrow, ncol)
+ 
+   # Add NAs?
+   nas <- sample(c(TRUE,FALSE), size=1)
+   if (nas) {
+     nna <- sample(nrow*ncol, size=1)
+     x[sample(length(x), size=nna)] <- NA
+   }
+ 
+   na.rm <- nas
+   t1 <- system.time({
+     y1 <- rowMedians(x, na.rm=na.rm)
+   })
+   t2 <- system.time({
+     y2 <- apply(x, MARGIN=1, FUN=median, na.rm=na.rm)
+   })
+   # When all values of 'y2' are NA, 'y2' is logical
+   if (is.logical(y2)) y2 <- as.double(y2)
+   stopifnot(all.equal(y1,y2))
+   cat(sprintf("rowMedians()/apply(): %.3g\n", (t1/t2)[3]))
+ 
+   if (!nas) {
+     t3 <- system.time({
+       y3 <- rowMedians2(x)
+     })
+     stopifnot(all.equal(y1,y3))
+     cat(sprintf("rowMedians()/rowMedians2(): %.3g\n", (t1/t3)[3]))
+   }
+ }
Random test #1
rowMedians()/apply(): 0.147
Random test #2
rowMedians()/apply(): 0.301
Random test #3
rowMedians()/apply(): 0.388
rowMedians()/rowMedians2(): 0.804
Random test #4
rowMedians()/apply(): 0.115
Random test #5
rowMedians()/apply(): 0.333
rowMedians()/rowMedians2(): 0.182
Random test #6
rowMedians()/apply(): 0.254
Random test #7
rowMedians()/apply(): 0.182
Random test #8
rowMedians()/apply(): 0.113
Random test #9
rowMedians()/apply(): 0.121
rowMedians()/rowMedians2(): 0.458
Random test #10
rowMedians()/apply(): 0.351
rowMedians()/rowMedians2(): 0.434
Random test #11
rowMedians()/apply(): 0.111
Random test #12
rowMedians()/apply(): 0.279
Random test #13
rowMedians()/apply(): 0.269
rowMedians()/rowMedians2(): 0.757
Random test #14
rowMedians()/apply(): 0.4
rowMedians()/rowMedians2(): 0.857
Random test #15
rowMedians()/apply(): 0.245
Random test #16
rowMedians()/apply(): 0.235
Random test #17
rowMedians()/apply(): 0.323
rowMedians()/rowMedians2(): 0.471
Random test #18
rowMedians()/apply(): 0.0278
Random test #19
rowMedians()/apply(): 0.282
Random test #20
rowMedians()/apply(): 0.0769
> 
> 
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # Benchmarking
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> cat("Benchmarking:\n")
Benchmarking:
> 
> # Simulate data in a matrix of any shape
> nrow <- 1000
> ncol <- 1000
> x <- rnorm(nrow*ncol)
> dim(x) <- c(nrow, ncol)
> 
> gc()
          used (Mb) gc trigger (Mb) max used (Mb)
Ncells  568017 30.4    1299230 69.4  1162901 62.2
Vcells 2049614 15.7    8388608 64.0  8388545 64.0
> t0 <- system.time({
+   for (rr in 1:20)
+     y0 <- apply(x, MARGIN=1, FUN=median, na.rm=FALSE)
+ })
> gc()
          used (Mb) gc trigger (Mb) max used (Mb)
Ncells  568034 30.4    1299230 69.4  1162901 62.2
Vcells 2050632 15.7    8388608 64.0  8388608 64.0
> t1 <- system.time({
+   for (rr in 1:20)
+     y1 <- rowMedians(x, na.rm=FALSE)
+ })
> gc()
          used (Mb) gc trigger (Mb) max used (Mb)
Ncells  568034 30.4    1299230 69.4  1162901 62.2
Vcells 2051384 15.7    8388608 64.0  8388608 64.0
> stopifnot(all.equal(y0,y1))
> cat(sprintf("rowMedians()/apply(): %.3g\n", (t1/t0)[3]))
rowMedians()/apply(): 0.303
> 
> 
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # Consistency checks
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> cat("Consistency checks without NAs:\n")
Consistency checks without NAs:
> for (kk in 1:20) {
+   cat("Random test #", kk, "\n", sep="")
+ 
+   # Simulate data in a matrix of any shape
+   nrow <- sample(1000, size=1)
+   ncol <- sample(1000, size=1)
+   x <- rnorm(nrow*ncol)
+   dim(x) <- c(nrow, ncol)
+ 
+   t0 <- system.time({
+     y0 <- apply(x, MARGIN=1, FUN=median, na.rm=FALSE)
+   })
+   t1 <- system.time({
+     y1 <- rowMedians(x, na.rm=FALSE)
+   })
+   stopifnot(all.equal(y0,y1))
+ } # for (kk in ...)
Random test #1
Random test #2
Random test #3
Random test #4
Random test #5
Random test #6
Random test #7
Random test #8
Random test #9
Random test #10
Random test #11
Random test #12
Random test #13
Random test #14
Random test #15
Random test #16
Random test #17
Random test #18
Random test #19
Random test #20
> 
> 
> 
> cat("Consistency checks with NAs:\n")
Consistency checks with NAs:
> for (kk in 1:20) {
+   cat("Random test #", kk, "\n", sep="")
+ 
+   # Simulate data in a matrix of any shape
+   nrow <- sample(1000, size=1)
+   ncol <- sample(1000, size=1)
+   x <- rnorm(nrow*ncol)
+   dim(x) <- c(nrow, ncol)
+ 
+   # Add NAs
+   nna <- sample(nrow*ncol-1, size=1)
+   x[sample(length(x), size=nna)] <- NA
+ 
+   t0 <- system.time({
+     y0 <- apply(x, MARGIN=1, FUN=median, na.rm=TRUE)
+     y0[is.na(y0)] <- NA
+   })
+   t1 <- system.time({
+     y1 <- rowMedians(x, na.rm=TRUE)
+   })
+   stopifnot(all.equal(y0,y1))
+ } # for (kk in ...)
Random test #1
Random test #2
Random test #3
Random test #4
Random test #5
Random test #6
Random test #7
Random test #8
Random test #9
Random test #10
Random test #11
Random test #12
Random test #13
Random test #14
Random test #15
Random test #16
Random test #17
Random test #18
Random test #19
Random test #20
> 
> proc.time()
   user  system elapsed 
 15.144   0.104  15.252 

Example timings

Biobase.Rcheck/Biobase-Ex.timings

nameusersystemelapsed
Aggregate0.0040.0080.010
ScalarObject-class0.0200.0000.018
addVig2Menu0.0000.0040.001
anyMissing0.0040.0000.003
cache0.0040.0000.005
channel0.1520.0000.154
channelNames0.0360.0000.035
class.AnnotatedDataFrame0.0240.0000.022
class.ExpressionSet0.1480.0000.150
class.MIAxE0.0120.0000.015
class.MultiSet0.020.000.02
class.NChannelSet0.1080.0040.113
class.Versioned0.0480.0000.046
class.VersionedBiobase0.0160.0000.018
class.Versions0.0080.0000.010
class.VersionsNull0.0000.0000.001
class.container0.0000.0000.003
class.eSet0.0600.0000.061
classVersion0.0040.0000.003
contents0.0000.0000.001
copyEnv0.0000.0000.001
copySubstitute0.0080.0000.011
createPackage0.0080.0000.005
data.aaMap0.0000.0000.002
data.geneData0.0200.0000.022
data.reporter0.0040.0000.002
data.sample.ExpressionSet0.0120.0000.013
data.sample.MultiSet0.0040.0000.005
dumpPackTxt0.0000.0000.017
esApply1.0560.0001.057
getPkgVigs0.0040.0000.020
isCurrent0.020.000.02
isUnique0.0000.0000.001
isVersioned0.0120.0000.011
lcSuffix0.0040.0000.002
listLen0.0000.0000.001
makeDataPackage0.0520.0080.060
matchpt0.0040.0000.004
multiassign0.0000.0000.001
note000
openPDF000
openVignette0.0000.0000.001
package.version0.0000.0000.002
read.AnnotatedDataFrame0.0080.0000.011
read.MIAME0.0040.0000.001
readExpressionSet0.0360.0000.038
reverseSplit0.0000.0000.001
rowMedians0.0280.0040.032
rowQ0.0200.0000.017
selectChannels0.0360.0000.036
selectSome0.0000.0000.001
strbreak0.0040.0000.002
subListExtract0.5080.0120.520
testBioCConnection0.0040.0081.423
updateOldESet0.0040.0000.001
validMsg0.0000.0000.001