| Back to Build/check report for BioC 3.17: simplified long | 
  | 
This page was generated on 2023-03-01 07:38:36 -0000 (Wed, 01 Mar 2023).
| Hostname | OS | Arch (*) | R version | Installed pkgs | 
|---|---|---|---|---|
| kunpeng1 | Linux (Ubuntu 22.04.1 LTS) | aarch64 | R Under development (unstable) (2023-01-14 r83615) -- "Unsuffered Consequences" | 4266 | 
| Click on any hostname to see more info about the system (e.g. compilers) (*) as reported by 'uname -p', except on Windows and Mac OS X | ||||
| 
To the developers/maintainers of the Biobase package: - Please allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/Biobase.git to reflect on this report. See How and When does the builder pull? When will my changes propagate? for more information. - Make sure to use the following settings in order to reproduce any error or warning you see on this page.  | 
| Package 153/2171 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||||
| Biobase 2.59.0  (landing page) Bioconductor Package Maintainer 
  | kunpeng1 | Linux (Ubuntu 22.04.1 LTS) / aarch64 | OK | OK | OK | |||||||||
| Package: Biobase | 
| Version: 2.59.0 | 
| Command: /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:Biobase.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/library --timings Biobase_2.59.0.tar.gz | 
| StartedAt: 2023-02-27 21:37:30 -0000 (Mon, 27 Feb 2023) | 
| EndedAt: 2023-02-27 21:39:10 -0000 (Mon, 27 Feb 2023) | 
| EllapsedTime: 100.1 seconds | 
| RetCode: 0 | 
| Status: OK | 
| CheckDir: Biobase.Rcheck | 
| Warnings: 0 | 
##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:Biobase.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/library --timings Biobase_2.59.0.tar.gz
###
##############################################################################
##############################################################################
* using log directory ‘/home/biocbuild/bbs-3.17-bioc/meat/Biobase.Rcheck’
* using R Under development (unstable) (2023-01-14 r83615)
* using platform: aarch64-unknown-linux-gnu (64-bit)
* R was compiled by
    gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
    GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
* running under: Ubuntu 22.04.1 LTS
* using session charset: UTF-8
* checking for file ‘Biobase/DESCRIPTION’ ... OK
* this is package ‘Biobase’ version ‘2.59.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
* used C compiler: ‘gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0’
* 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 ...
  ‘BiobaseDevelopment.Rmd’ using ‘UTF-8’... OK
  ‘esApply.Rmd’ using ‘UTF-8’... OK
  ‘ExpressionSetIntroduction.Rnw’... OK
 OK
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE
Status: 1 NOTE
See
  ‘/home/biocbuild/bbs-3.17-bioc/meat/Biobase.Rcheck/00check.log’
for details.
Biobase.Rcheck/00install.out
############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD INSTALL Biobase ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/bbs-3.17-bioc/R/library’ * installing *source* package ‘Biobase’ ... ** using staged installation ** libs using C compiler: ‘gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0’ gcc -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -c Rinit.c -o Rinit.o gcc -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -c anyMissing.c -o anyMissing.o gcc -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -c envir.c -o envir.o gcc -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -c matchpt.c -o matchpt.o gcc -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -c rowMedians.c -o rowMedians.o gcc -I"/home/biocbuild/bbs-3.17-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.17-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.17-bioc/R/lib -lR installing to /home/biocbuild/bbs-3.17-bioc/R/library/00LOCK-Biobase/00new/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 from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (Biobase)
Biobase.Rcheck/tests/test-all.Rout
R Under development (unstable) (2023-01-14 r83615) -- "Unsuffered Consequences"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-unknown-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:stats':
    IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
    tapply, union, unique, unsplit, 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 Feb 27 21:38:26 2023 
*********************************************** 
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 
 13.305   0.123  13.448 
Biobase.Rcheck/tests/test-rowMedians.Rout
R Under development (unstable) (2023-01-14 r83615) -- "Unsuffered Consequences"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-unknown-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
Attaching package: 'BiocGenerics'
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, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
    tapply, union, unique, unsplit, 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.33
Random test #2
rowMedians()/apply(): 0.13
rowMedians()/rowMedians2(): 0.327
Random test #3
rowMedians()/apply(): 0.0476
Random test #4
rowMedians()/apply(): 0.179
rowMedians()/rowMedians2(): 0.286
Random test #5
rowMedians()/apply(): 0.305
rowMedians()/rowMedians2(): 0.382
Random test #6
rowMedians()/apply(): 0.261
rowMedians()/rowMedians2(): 0.367
Random test #7
rowMedians()/apply(): 0.381
Random test #8
rowMedians()/apply(): 0
rowMedians()/rowMedians2(): NaN
Random test #9
rowMedians()/apply(): 0.0909
Random test #10
rowMedians()/apply(): 0.0654
Random test #11
rowMedians()/apply(): 0.107
Random test #12
rowMedians()/apply(): 0.123
Random test #13
rowMedians()/apply(): 0.227
rowMedians()/rowMedians2(): 0.833
Random test #14
rowMedians()/apply(): 0.248
Random test #15
rowMedians()/apply(): 0.315
Random test #16
rowMedians()/apply(): 0.138
rowMedians()/rowMedians2(): 0.333
Random test #17
rowMedians()/apply(): 0.28
Random test #18
rowMedians()/apply(): 0.111
rowMedians()/rowMedians2(): 0.6
Random test #19
rowMedians()/apply(): 0.385
rowMedians()/rowMedians2(): 0.776
Random test #20
rowMedians()/apply(): 0.299
rowMedians()/rowMedians2(): 0.366
> 
> 
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # 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  581068 31.1    1327461 70.9  1044756 55.8
Vcells 2061572 15.8   12255594 93.6 12287664 93.8
> 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  581084 31.1    1327461 70.9  1211104 64.7
Vcells 2062589 15.8   12255594 93.6 12287664 93.8
> t1 <- system.time({
+   for (rr in 1:20)
+     y1 <- rowMedians(x, na.rm=FALSE)
+ })
> gc()
          used (Mb) gc trigger (Mb) max used (Mb)
Ncells  581084 31.1    1327461 70.9  1211104 64.7
Vcells 2061714 15.8   12255594 93.6 12287664 93.8
> stopifnot(all.equal(y0,y1))
> cat(sprintf("rowMedians()/apply(): %.3g\n", (t1/t0)[3]))
rowMedians()/apply(): 0.177
> 
> 
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # 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 
 21.057   0.214  21.256 
Biobase.Rcheck/Biobase-Ex.timings
| name | user | system | elapsed | |
| Aggregate | 0.006 | 0.001 | 0.007 | |
| ScalarObject-class | 0.011 | 0.000 | 0.011 | |
| addVig2Menu | 0.000 | 0.000 | 0.001 | |
| anyMissing | 0.001 | 0.000 | 0.002 | |
| cache | 0.003 | 0.000 | 0.003 | |
| channel | 0.203 | 0.012 | 0.215 | |
| channelNames | 0.051 | 0.000 | 0.051 | |
| class.AnnotatedDataFrame | 0.030 | 0.000 | 0.029 | |
| class.ExpressionSet | 0.206 | 0.004 | 0.210 | |
| class.MIAxE | 0.016 | 0.004 | 0.020 | |
| class.MultiSet | 0.029 | 0.000 | 0.030 | |
| class.NChannelSet | 0.163 | 0.000 | 0.164 | |
| class.Versioned | 0.063 | 0.000 | 0.063 | |
| class.VersionedBiobase | 0.026 | 0.000 | 0.026 | |
| class.Versions | 0.012 | 0.000 | 0.011 | |
| class.VersionsNull | 0.001 | 0.000 | 0.001 | |
| class.container | 0.002 | 0.000 | 0.002 | |
| class.eSet | 0.087 | 0.000 | 0.087 | |
| classVersion | 0.001 | 0.003 | 0.004 | |
| contents | 0.001 | 0.000 | 0.001 | |
| copyEnv | 0.000 | 0.000 | 0.001 | |
| copySubstitute | 0.007 | 0.004 | 0.011 | |
| createPackage | 0.002 | 0.003 | 0.007 | |
| data.aaMap | 0.002 | 0.000 | 0.001 | |
| data.geneData | 0.035 | 0.000 | 0.035 | |
| data.reporter | 0.000 | 0.002 | 0.002 | |
| data.sample.ExpressionSet | 0.009 | 0.002 | 0.012 | |
| data.sample.MultiSet | 0.004 | 0.000 | 0.004 | |
| dumpPackTxt | 0.001 | 0.000 | 0.002 | |
| esApply | 1.380 | 0.000 | 1.381 | |
| getPkgVigs | 0.009 | 0.000 | 0.010 | |
| isCurrent | 0.026 | 0.004 | 0.029 | |
| isUnique | 0 | 0 | 0 | |
| isVersioned | 0.012 | 0.000 | 0.012 | |
| lcSuffix | 0.001 | 0.000 | 0.001 | |
| listLen | 0.001 | 0.000 | 0.000 | |
| makeDataPackage | 0.062 | 0.004 | 0.067 | |
| matchpt | 0.005 | 0.000 | 0.005 | |
| multiassign | 0.001 | 0.000 | 0.001 | |
| note | 0 | 0 | 0 | |
| openPDF | 0 | 0 | 0 | |
| openVignette | 0 | 0 | 0 | |
| package.version | 0.001 | 0.000 | 0.001 | |
| read.AnnotatedDataFrame | 0.010 | 0.000 | 0.011 | |
| read.MIAME | 0.002 | 0.000 | 0.002 | |
| readExpressionSet | 0.055 | 0.004 | 0.061 | |
| reverseSplit | 0.001 | 0.000 | 0.000 | |
| rowMedians | 0.031 | 0.004 | 0.034 | |
| rowQ | 0.008 | 0.009 | 0.017 | |
| selectChannels | 0.045 | 0.002 | 0.047 | |
| selectSome | 0.000 | 0.000 | 0.001 | |
| strbreak | 0.000 | 0.001 | 0.001 | |
| subListExtract | 0.966 | 0.009 | 0.975 | |
| testBioCConnection | 0.007 | 0.004 | 1.477 | |
| updateOldESet | 0 | 0 | 0 | |
| validMsg | 0.001 | 0.000 | 0.000 | |