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

CHECK report for switchBox on merida1

This page was generated on 2020-04-15 12:40:35 -0400 (Wed, 15 Apr 2020).

Package 1696/1823HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
switchBox 1.22.0
Bahman Afsari , Luigi Marchionni
Snapshot Date: 2020-04-14 16:46:13 -0400 (Tue, 14 Apr 2020)
URL: https://git.bioconductor.org/packages/switchBox
Branch: RELEASE_3_10
Last Commit: 7ae60d4
Last Changed Date: 2019-10-29 13:09:03 -0400 (Tue, 29 Oct 2019)
malbec1 Linux (Ubuntu 18.04.4 LTS) / x86_64  OK  OK  WARNINGS UNNEEDED, same version exists in internal repository
tokay1 Windows Server 2012 R2 Standard / x64  OK  OK  WARNINGS  OK UNNEEDED, same version exists in internal repository
merida1 OS X 10.11.6 El Capitan / x86_64  OK  OK [ WARNINGS ] OK UNNEEDED, same version exists in internal repository

Summary

Package: switchBox
Version: 1.22.0
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:switchBox.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings switchBox_1.22.0.tar.gz
StartedAt: 2020-04-15 06:04:44 -0400 (Wed, 15 Apr 2020)
EndedAt: 2020-04-15 06:05:34 -0400 (Wed, 15 Apr 2020)
EllapsedTime: 49.8 seconds
RetCode: 0
Status:  WARNINGS 
CheckDir: switchBox.Rcheck
Warnings: 3

Command output

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


* using log directory ‘/Users/biocbuild/bbs-3.10-bioc/meat/switchBox.Rcheck’
* using R version 3.6.3 (2020-02-29)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘switchBox/DESCRIPTION’ ... OK
* this is package ‘switchBox’ version ‘1.22.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 ‘plot’
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 ‘plot’
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 ‘plot’
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 plot.new stripchart
Consider adding
  importFrom("graphics", "abline", "axis", "boxplot", "grid", "legend",
             "lines", "plot", "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
Package unavailable to check Rd xrefs: ‘mammaPrintData’
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 sizes of PDF files under ‘inst/doc’ ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU or elapsed time > 5s
               user system elapsed
SWAP.KTSP.LOO 5.649  0.091   5.806
* 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
  ‘/Users/biocbuild/bbs-3.10-bioc/meat/switchBox.Rcheck/00check.log’
for details.



Installation output

switchBox.Rcheck/00install.out

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


* installing to library ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library’
* installing *source* package ‘switchBox’ ...
** using staged installation
** libs
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include  -fPIC  -Wall -g -O2  -c CalculateSignedScoreCore.cc -o CalculateSignedScoreCore.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include  -fPIC  -Wall -g -O2  -c CalculateSignedScoreCoreTieHandler.cc -o CalculateSignedScoreCoreTieHandler.o
CalculateSignedScoreCoreTieHandler.cc:49:12: warning: unused variable 'score1' [-Wunused-variable]
    double score1, score2, type;
           ^
1 warning generated.
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include  -fPIC  -Wall -g -O2  -c CalculateSignedScoreRestrictedPairsCore.cc -o CalculateSignedScoreRestrictedPairsCore.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include  -fPIC  -Wall -g -O2  -c CalculateSignedScoreRestrictedPairsCoreTieHandler.cc -o CalculateSignedScoreRestrictedPairsCoreTieHandler.o
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;
                       ^
2 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include  -fPIC  -Wall -g -O2  -c rinit.c -o rinit.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include  -fPIC  -Wall -g -O2  -c vect2compC.cc -o vect2compC.o
clang++ -std=gnu++11 -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 switchBox.so CalculateSignedScoreCore.o CalculateSignedScoreCoreTieHandler.o CalculateSignedScoreRestrictedPairsCore.o CalculateSignedScoreRestrictedPairsCoreTieHandler.o rinit.o vect2compC.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/3.6/Resources/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.0410.0050.047
KTSP.Train0.0110.0030.014
SWAP.Calculate.BasicTSPScores0.0070.0020.008
SWAP.Calculate.SignedTSPScores0.0060.0020.008
SWAP.CalculateScores0.0300.0020.032
SWAP.CalculateSignedScore0.0270.0040.031
SWAP.Filter.Wilcoxon0.0160.0020.018
SWAP.GetKTSP.PredictionStats0.0420.0060.047
SWAP.GetKTSP.Result0.0460.0030.049
SWAP.GetKTSP.TrainTestResults0.0740.0060.080
SWAP.KTSP.CV0.2630.0080.270
SWAP.KTSP.Classify0.0530.0060.059
SWAP.KTSP.LOO5.6490.0915.806
SWAP.KTSP.Statistic0.1520.0060.161
SWAP.KTSP.Train0.5400.0050.550
SWAP.MakeTSPTable0.0140.0020.016
SWAP.PlotKTSP.GenePairBoxplot0.0420.0020.043
SWAP.PlotKTSP.GenePairClassesBoxplot0.0640.0040.072
SWAP.PlotKTSP.GenePairScatter0.0490.0020.052
SWAP.PlotKTSP.Genes0.0440.0020.046
SWAP.PlotKTSP.TrainTestROC0.0860.0040.091
SWAP.Train.1TSP0.0530.0020.055
SWAP.Train.KTSP0.0800.0020.082
matTesting0.0030.0020.004
matTraining0.0030.0010.004
testingGroup0.0040.0020.006
trainingGroup0.0020.0020.004