Back to Multiple platform build/check report for BioC 3.12
ABCDEFGHIJKLMNOPQR[S]TUVWXYZ

CHECK report for switchBox on malbec1

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

To the developers/maintainers of the switchBox package:
Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 1825/1974HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
switchBox 1.26.0  (landing page)
Bahman Afsari , Luigi Marchionni
Snapshot Date: 2021-05-05 14:51:38 -0400 (Wed, 05 May 2021)
URL: https://git.bioconductor.org/packages/switchBox
Branch: RELEASE_3_12
Last Commit: 0e8c14c
Last Changed Date: 2020-10-27 10:58:35 -0400 (Tue, 27 Oct 2020)
malbec1Linux (Ubuntu 18.04.5 LTS) / x86_64  OK    OK    WARNINGS  UNNEEDED, same version exists in internal repository
tokay1Windows Server 2012 R2 Standard / x64  OK    OK    WARNINGS    OK  UNNEEDED, same version exists in internal repository
merida1macOS 10.14.6 Mojave / x86_64  OK    OK    WARNINGS    OK  UNNEEDED, same version exists in internal repository

Summary

Package: switchBox
Version: 1.26.0
Command: /home/biocbuild/bbs-3.12-bioc/R/bin/R CMD check --install=check:switchBox.install-out.txt --library=/home/biocbuild/bbs-3.12-bioc/R/library --no-vignettes --timings switchBox_1.26.0.tar.gz
StartedAt: 2021-05-06 06:31:56 -0400 (Thu, 06 May 2021)
EndedAt: 2021-05-06 06:32:32 -0400 (Thu, 06 May 2021)
EllapsedTime: 35.9 seconds
RetCode: 0
Status:   WARNINGS  
CheckDir: switchBox.Rcheck
Warnings: 3

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.12-bioc/R/bin/R CMD check --install=check:switchBox.install-out.txt --library=/home/biocbuild/bbs-3.12-bioc/R/library --no-vignettes --timings switchBox_1.26.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.12-bioc/meat/switchBox.Rcheck’
* using R version 4.0.5 (2021-03-31)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘switchBox/DESCRIPTION’ ... OK
* this is package ‘switchBox’ version ‘1.26.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 ‘switchBox’ 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 ... NOTE
There are ::: calls to the package's namespace in its code. A package
  almost never needs to use ::: for its own objects:
  ‘KTSP.CalculateSignedScore’ ‘KTSP.tiedRank’
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
plotGenePairBoxplot: no visible global function definition for
  ‘boxplot’
plotGenePairBoxplot: no visible global function definition for
  ‘stripchart’
plotGenePairBoxplot: no visible global function definition for ‘legend’
plotGenePairBoxplot: no visible global function definition for ‘grid’
plotGenePairClassesBoxplot: no visible global function definition for
  ‘boxplot’
plotGenePairClassesBoxplot: no visible global function definition for
  ‘axis’
plotGenePairClassesBoxplot: no visible global function definition for
  ‘legend’
plotGenePairClassesBoxplot: no visible global function definition for
  ‘abline’
plotGenePairClassesBoxplot: no visible global function definition for
  ‘grid’
plotGenePairScatter: no visible global function definition for ‘abline’
plotGenePairScatter: no visible global function definition for ‘grid’
plotGenePairScatter: no visible global function definition for ‘legend’
plotGenes: no visible global function definition for ‘lines’
plotGenes: no visible global function definition for ‘grid’
plotGenes: no visible global function definition for ‘abline’
plotGenes: no visible global function definition for ‘legend’
plotkTSPTrainTestROC: no visible global function definition for ‘lines’
plotkTSPTrainTestROC: no visible global function definition for
  ‘legend’
plotkTSPTrainTestROC: no visible global function definition for ‘grid’
plotkTSPVotes: no visible global function definition for ‘plot.new’
Undefined global functions or variables:
  abline axis boxplot grid legend lines plot.new stripchart
Consider adding
  importFrom("graphics", "abline", "axis", "boxplot", "grid", "legend",
             "lines", "plot.new", "stripchart")
to your NAMESPACE file.
* checking Rd files ... NOTE
prepare_Rd: SWAP.Kby.Measurement.Rd:70-72: Dropping empty section \examples
prepare_Rd: SWAP.Kby.Ttest.Rd:64-66: Dropping empty section \examples
prepare_Rd: SWAP.PlotKTSP.Votes.Rd:54-56: Dropping empty section \examples
* checking Rd metadata ... OK
* checking Rd cross-references ... WARNING
Missing link or links in documentation object 'SWAP.PlotKTSP.TrainTestROC.Rd':
  ‘SWAP.GetkTSPTrainTestResults’

See section 'Cross-references' in the 'Writing R Extensions' manual.

* checking for missing documentation entries ... WARNING
Undocumented code objects:
  ‘SWAP.GetKFoldIndices’ ‘SWAP.MakeTrainTestData’
  ‘SWAP.ScoreMatrixToVector’ ‘SWAP.ScoreVectorToMatrix’
All user-level objects in a package should have documentation entries.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... WARNING
Assignments in \usage in documentation object 'SWAP.Kby.Measurement':
  k_opts = list(disjoint = TRUE, measurement = "auc")

Undocumented arguments in documentation object 'SWAP.PlotKTSP.GenePairScatter'
  ‘...’

Undocumented arguments in documentation object 'SWAP.PlotKTSP.Genes'
  ‘colors’ ‘legends’ ‘...’

Undocumented arguments in documentation object 'SWAP.PlotKTSP.TrainTestROC'
  ‘...’

Undocumented arguments in documentation object 'SWAP.PlotKTSP.Votes'
  ‘...’

Bad \usage lines found in documentation object 'SWAP.Kby.Measurement':
  SWAP.Kby.Measurement(inputMat, phenoGroup, 
    scoreTable, classes, krange, 

Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
* 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 installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
              user system elapsed
SWAP.KTSP.LOO  5.9  0.012    5.93
* 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: 3 WARNINGs, 4 NOTEs
See
  ‘/home/biocbuild/bbs-3.12-bioc/meat/switchBox.Rcheck/00check.log’
for details.



Installation output

switchBox.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.12-bioc/R/bin/R CMD INSTALL switchBox
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.12-bioc/R/library’
* installing *source* package ‘switchBox’ ...
** using staged installation
** libs
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.12-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c CalculateSignedScoreCore.cc -o CalculateSignedScoreCore.o
CalculateSignedScoreCore.cc: In function ‘void CalculateSignedScoreCore(int*, int*, double*, int*, double*, int*, double*, double*, double*, double*, double*, double*, double*)’:
CalculateSignedScoreCore.cc:36:26: warning: variable ‘pairsNo’ set but not used [-Wunused-but-set-variable]
     int i,j,l,countplace,pairsNo;
                          ^~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.12-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c CalculateSignedScoreCoreTieHandler.cc -o CalculateSignedScoreCoreTieHandler.o
CalculateSignedScoreCoreTieHandler.cc: In function ‘void CalculateSignedScoreCoreTieHandler(int*, int*, double*, int*, double*, int*, double*, double*, double*, double*)’:
CalculateSignedScoreCoreTieHandler.cc:49:12: warning: unused variable ‘score1’ [-Wunused-variable]
     double score1, score2, type;
            ^~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.12-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c CalculateSignedScoreRestrictedPairsCore.cc -o CalculateSignedScoreRestrictedPairsCore.o
CalculateSignedScoreRestrictedPairsCore.cc: In function ‘void CalculateSignedScoreRestrictedPairsCore(int*, int*, double*, int*, double*, int*, int*, int*, int*, double*, double*, double*)’:
CalculateSignedScoreRestrictedPairsCore.cc:22:11: warning: variable ‘countplace’ set but not used [-Wunused-but-set-variable]
   int i,l,countplace,pairsNo;
           ^~~~~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.12-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c CalculateSignedScoreRestrictedPairsCoreTieHandler.cc -o CalculateSignedScoreRestrictedPairsCoreTieHandler.o
CalculateSignedScoreRestrictedPairsCoreTieHandler.cc: In function ‘void CalculateSignedScoreRestrictedPairsCoreTieHandler(int*, int*, double*, int*, double*, int*, int*, int*, int*, double*, double*, double*, double*)’:
CalculateSignedScoreRestrictedPairsCoreTieHandler.cc:25:11: warning: unused variable ‘countplace’ [-Wunused-variable]
   int i,l,countplace,pairsNo;
           ^~~~~~~~~~
CalculateSignedScoreRestrictedPairsCoreTieHandler.cc:35:10: warning: unused variable ‘score1’ [-Wunused-variable]
   double score1, score2, type;
          ^~~~~~
gcc -I"/home/biocbuild/bbs-3.12-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c rinit.c -o rinit.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.12-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c vect2compC.cc -o vect2compC.o
g++ -std=gnu++11 -shared -L/home/biocbuild/bbs-3.12-bioc/R/lib -L/usr/local/lib -o switchBox.so CalculateSignedScoreCore.o CalculateSignedScoreCoreTieHandler.o CalculateSignedScoreRestrictedPairsCore.o CalculateSignedScoreRestrictedPairsCoreTieHandler.o rinit.o vect2compC.o -L/home/biocbuild/bbs-3.12-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.12-bioc/R/library/00LOCK-switchBox/00new/switchBox/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 (switchBox)

Tests output


Example timings

switchBox.Rcheck/switchBox-Ex.timings

nameusersystemelapsed
KTSP.Classify0.0360.0000.037
KTSP.Train0.0080.0040.011
SWAP.Calculate.BasicTSPScores0.0080.0000.007
SWAP.Calculate.SignedTSPScores0.0080.0000.008
SWAP.CalculateScores0.0440.0040.045
SWAP.CalculateSignedScore0.0360.0000.036
SWAP.Filter.Wilcoxon0.0240.0000.022
SWAP.GetKTSP.PredictionStats0.0560.0040.061
SWAP.GetKTSP.Result0.0720.0000.070
SWAP.GetKTSP.TrainTestResults0.1080.0040.110
SWAP.KTSP.CV0.2760.0000.277
SWAP.KTSP.Classify0.0640.0000.064
SWAP.KTSP.LOO5.9000.0125.930
SWAP.KTSP.Statistic0.1840.0040.191
SWAP.KTSP.Train0.4240.0040.431
SWAP.MakeTSPTable0.020.000.02
SWAP.PlotKTSP.GenePairBoxplot0.0360.0000.037
SWAP.PlotKTSP.GenePairClassesBoxplot0.0400.0000.041
SWAP.PlotKTSP.GenePairScatter0.0440.0000.045
SWAP.PlotKTSP.Genes0.0480.0000.048
SWAP.PlotKTSP.TrainTestROC0.060.000.06
SWAP.Train.1TSP0.0280.0000.027
SWAP.Train.KTSP0.0640.0000.063
matTesting0.0040.0000.004
matTraining0.0000.0000.002
testingGroup0.0040.0000.003
trainingGroup0.0040.0000.002