Back to Multiple platform build/check report for BioC 3.12
ABCDEF[G]HIJKLMNOPQRSTUVWXYZ

CHECK report for getDEE2 on merida1

This page was generated on 2021-05-06 12:35:07 -0400 (Thu, 06 May 2021).

To the developers/maintainers of the getDEE2 package:
Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 733/1974HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
getDEE2 1.0.0  (landing page)
Mark Ziemann
Snapshot Date: 2021-05-05 14:51:38 -0400 (Wed, 05 May 2021)
URL: https://git.bioconductor.org/packages/getDEE2
Branch: RELEASE_3_12
Last Commit: ed39494
Last Changed Date: 2020-10-27 11:57:58 -0400 (Tue, 27 Oct 2020)
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: getDEE2
Version: 1.0.0
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:getDEE2.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings getDEE2_1.0.0.tar.gz
StartedAt: 2021-05-06 02:12:45 -0400 (Thu, 06 May 2021)
EndedAt: 2021-05-06 02:16:43 -0400 (Thu, 06 May 2021)
EllapsedTime: 237.9 seconds
RetCode: 0
Status:   OK  
CheckDir: getDEE2.Rcheck
Warnings: 0

Command output

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


* using log directory ‘/Users/biocbuild/bbs-3.12-bioc/meat/getDEE2.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 ‘getDEE2/DESCRIPTION’ ... OK
* this is package ‘getDEE2’ version ‘1.0.0’
* 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 ‘getDEE2’ 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 ... NOTE
srx_agg: no visible global function definition for ‘is’
Undefined global functions or variables:
  is
Consider adding
  importFrom("methods", "is")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').
* 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
Examples with CPU (user + system) or elapsed time > 5s
                user system elapsed
getDEE2_bundle 2.910  0.185   7.781
getDEE2        0.883  0.110   9.677
Tx2Gene        0.720  0.052  11.342
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘test-getDEE2.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
  ‘/Users/biocbuild/bbs-3.12-bioc/meat/getDEE2.Rcheck/00check.log’
for details.



Installation output

getDEE2.Rcheck/00install.out

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


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’
* installing *source* package ‘getDEE2’ ...
** using staged installation
** R
** 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 (getDEE2)

Tests output

getDEE2.Rcheck/tests/test-getDEE2.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.

> library("getDEE2")
> library("SummarizedExperiment")
Loading required package: MatrixGenerics
Loading required package: matrixStats

Attaching package: 'MatrixGenerics'

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

    colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
    colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
    colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
    colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
    colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
    colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
    colWeightedMeans, colWeightedMedians, colWeightedSds,
    colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
    rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
    rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
    rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
    rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
    rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
    rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
    rowWeightedSds, rowWeightedVars

Loading required package: GenomicRanges
Loading required package: stats4
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, 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

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

The following object is masked from 'package:base':

    expand.grid

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor

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


Attaching package: 'Biobase'

The following object is masked from 'package:MatrixGenerics':

    rowMedians

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

    anyMissing, rowMedians

> library("testthat")
> 
> # E. coli 
> x<-getDEE2("ecoli",c("SRR1613487","SRR1613488"),legacy=TRUE)
trying URL 'http://dee2.io/metadata/ecoli_metadata.tsv.cut'
Content type 'text/tab-separated-values' length 697430 bytes (681 KB)
==================================================
downloaded 681 KB

trying URL 'http://dee2.io/cgi-bin/request.sh?org=ecoli&x=SRR1613487&x=SRR1613488'
downloaded 155 KB

For more information about DEE2 QC metrics, visit
    https://github.com/markziemann/dee2/blob/master/qc/qc_metrics.md
> 
> test_that("eco works", {
+     expect_equal( sum(x$GeneCounts) , 20624168 )
+ })
Test passed 🎊
> 
> 
> # A. thaliana bundle
> x <- getDEE2_bundle("athaliana", "SRP058781",col="SRP_accession")
trying URL 'http://dee2.io/huge/athaliana/'
downloaded 449 KB

trying URL 'http://dee2.io/huge/athaliana/SRP058781_NA.zip'
Content type 'application/zip' length 4214382 bytes (4.0 MB)
==================================================
downloaded 4.0 MB

For more information about DEE2 QC metrics, visit
    https://github.com/markziemann/dee2/blob/master/qc/qc_metrics.md
> 
> test_that("ath bundles work", {
+     expect_equal( nrow(assays(x)[[1]]) , 32833 )
+     expect_equal( ncol(assays(x)[[1]]) , 32 )
+ })
Test passed 🌈
> 
> 
> # check absent present
> dat <- query_bundles("drerio",c("SRP131781","SRP055996","SRXXX"),col="SRP_accession")
trying URL 'http://dee2.io/huge/drerio/'
downloaded 172 KB

> 
> test_that("dre bundle query", {
+     expect_equal( length(dat$absent) , 1 )
+     expect_equal( length(dat$present) , 2 )
+ })
Test passed 😸
> 
> proc.time()
   user  system elapsed 
 12.834   0.649  23.895 

Example timings

getDEE2.Rcheck/getDEE2-Ex.timings

nameusersystemelapsed
Tx2Gene 0.720 0.05211.342
getDEE20.8830.1109.677
getDEE2Metadata0.0420.0092.169
getDEE2_bundle2.9100.1857.781
list_bundles0.5970.0192.058
loadFullMeta0.1520.0283.808
loadGeneCounts0.1360.0273.939
loadGeneInfo0.1760.0253.970
loadQcMx0.1260.0263.864
loadSummaryMeta0.1290.0223.981
loadTxCounts0.1600.0243.678
loadTxInfo0.1390.0283.569
queryDEE20.0460.0092.235
query_bundles0.5150.0152.128
se0.1160.0233.711
srx_agg0.1000.0214.129