Back to Multiple platform build/check report for BioC 3.7
ABCDEFGHIJKLMNOPQ[R]STUVWXYZ

CHECK report for RMassBank on malbec2

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

Package 1252/1561HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
RMassBank 2.8.0
RMassBank at Eawag
Snapshot Date: 2018-10-15 16:45:08 -0400 (Mon, 15 Oct 2018)
URL: https://git.bioconductor.org/packages/RMassBank
Branch: RELEASE_3_7
Last Commit: 094299b
Last Changed Date: 2018-04-30 10:35:26 -0400 (Mon, 30 Apr 2018)
malbec2 Linux (Ubuntu 16.04.1 LTS) / x86_64  OK  OK [ ERROR ]
tokay2 Windows Server 2012 R2 Standard / x64  OK  ERROR  skipped  skipped 
merida2 OS X 10.11.6 El Capitan / x86_64  OK  ERROR  skipped  skipped 

Summary

Package: RMassBank
Version: 2.8.0
Command: /home/biocbuild/bbs-3.7-bioc/R/bin/R CMD check --install=check:RMassBank.install-out.txt --library=/home/biocbuild/bbs-3.7-bioc/R/library --no-vignettes --timings RMassBank_2.8.0.tar.gz
StartedAt: 2018-10-16 03:20:10 -0400 (Tue, 16 Oct 2018)
EndedAt: 2018-10-16 03:22:22 -0400 (Tue, 16 Oct 2018)
EllapsedTime: 131.8 seconds
RetCode: 1
Status:  ERROR 
CheckDir: RMassBank.Rcheck
Warnings: NA

Command output

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


* using log directory ‘/home/biocbuild/bbs-3.7-bioc/meat/RMassBank.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 ‘RMassBank/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘RMassBank’ version ‘2.8.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 ‘RMassBank’ 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
.findPattern: no visible global function definition for
  ‘capture.output’
.get.mol2formula: no visible global function definition for
  ‘capture.output’
.pubChemOnline: no visible global function definition for ‘URLencode’
addPeaks: no visible global function definition for ‘read.csv’
analyzeMsMs.formula.optimized: no visible binding for global variable
  ‘occurrenceMatrix’
checkIsotopes: no visible global function definition for ‘data’
checkIsotopes : <anonymous> : <anonymous>: no visible global function
  definition for ‘points’
createSpecsFromPeaklists: no visible global function definition for
  ‘read.csv’
deprofile.spline : <anonymous>: no visible global function definition
  for ‘smooth.spline’
deprofile.spline : <anonymous>: no visible global function definition
  for ‘predict’
findEIC: no visible global function definition for ‘predict’
findMsMsHRperxcms.direct : getRT : <anonymous>: no visible global
  function definition for ‘median’
findMsMsHRperxcms.direct: no visible global function definition for
  ‘capture.output’
gatherSpectrum: no visible global function definition for
  ‘packageVersion’
getCSID: no visible global function definition for ‘URLencode’
getCactus: no visible global function definition for ‘URLencode’
getCtsKey: no visible global function definition for ‘URLencode’
getMolecule: no visible global function definition for ‘capture.output’
getPcCHEBI: no visible global function definition for ‘URLencode’
getPcIUPAC: no visible global function definition for ‘URLencode’
getPcId: no visible global function definition for ‘URLencode’
getPcInchiKey: no visible global function definition for ‘URLencode’
getPcSDF: no visible global function definition for ‘URLencode’
getPcSynonym: no visible global function definition for ‘URLencode’
loadInfolist: no visible global function definition for ‘read.csv’
loadInfolist: no visible global function definition for ‘read.csv2’
loadList: no visible global function definition for ‘read.csv’
loadList: no visible global function definition for ‘read.csv2’
makeMollist: no visible global function definition for ‘write.table’
makeRecalibration: no visible global function definition for ‘par’
mbWorkflow: no visible global function definition for ‘write.csv’
msmsRead: no visible global function definition for ‘read.csv’
msmsRead.RAW : getRT : <anonymous>: no visible global function
  definition for ‘median’
msmsRead.RAW: no visible global function definition for
  ‘capture.output’
msmsRead.ticms2: no visible global function definition for ‘read.csv’
msmsRead.ticms2: no visible global function definition for
  ‘c.msmsWSspecs’
newStep2WorkFlow: no visible global function definition for ‘read.csv’
parseMassBank: no visible binding for global variable ‘type.convert’
parseMassBank: no visible global function definition for
  ‘flush.console’
plotMbWorkspaces: no visible global function definition for ‘points’
plotRecalibration: no visible global function definition for ‘par’
plotRecalibration.direct: no visible global function definition for
  ‘predict’
plotRecalibration.direct: no visible global function definition for
  ‘lines’
plotRecalibration.direct: no visible global function definition for
  ‘heat.colors’
processProblematicPeaks: no visible global function definition for
  ‘write.csv’
progressBarHook: no visible global function definition for
  ‘txtProgressBar’
progressBarHook: no visible global function definition for
  ‘setTxtProgressBar’
recalibrate.identity: no visible global function definition for ‘lm’
recalibrate.linear: no visible global function definition for ‘lm’
recalibrate.loess: no visible global function definition for ‘loess’
recalibrate.mean: no visible global function definition for ‘lm’
recalibrateSingleSpec: no visible global function definition for
  ‘predict’
toRMB : <anonymous>: no visible global function definition for ‘median’
show,mbWorkspace: no visible global function definition for ‘str’
Undefined global functions or variables:
  URLencode c.msmsWSspecs capture.output data flush.console heat.colors
  lines lm loess median occurrenceMatrix packageVersion par points
  predict read.csv read.csv2 setTxtProgressBar smooth.spline str
  txtProgressBar type.convert write.csv write.table
Consider adding
  importFrom("grDevices", "heat.colors")
  importFrom("graphics", "lines", "par", "points")
  importFrom("stats", "lm", "loess", "median", "predict",
             "smooth.spline")
  importFrom("utils", "URLencode", "capture.output", "data",
             "flush.console", "packageVersion", "read.csv", "read.csv2",
             "setTxtProgressBar", "str", "txtProgressBar",
             "type.convert", "write.csv", "write.table")
to your NAMESPACE file.
* 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 ... ERROR
Running examples in ‘RMassBank-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: getCtsKey
> ### Title: Convert a single ID to another using CTS.
> ### Aliases: getCtsKey
> 
> ### ** Examples
> 
> k <- getCtsKey("benzene", "Chemical Name", "InChIKey")
Error in fromJSON(data) : no data to parse
Calls: getCtsKey -> fromJSON
Execution halted
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘doRUnit.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 ERROR, 1 NOTE
See
  ‘/home/biocbuild/bbs-3.7-bioc/meat/RMassBank.Rcheck/00check.log’
for details.


Installation output

RMassBank.Rcheck/00install.out

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


* installing to library ‘/home/biocbuild/bbs-3.7-bioc/R/library’
* installing *source* package ‘RMassBank’ ...
** R
** 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 (RMassBank)

Tests output

RMassBank.Rcheck/tests/doRUnit.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.

> #### doRUnit.R --- Run RUnit tests
> ####------------------------------------------------------------------------
> 
> ### Structure borrowed from rcppgls:
> ### https://github.com/eddelbuettel/rcppgsl/blob/master/tests/doRUnit.R
> 
> if(require("RUnit", quietly = TRUE)) {
+ 	if(require("RMassBankData", quietly = TRUE) && !(compareVersion(installed.packages()["RMassBankData","Version"],"1.99.0") == -1)) {
+ 		pkg <- "RMassBank"
+ 		print("Starting tests")
+ 		require(pkg, character.only=TRUE)
+ 
+ 		path <- system.file("unitTests", package = pkg)
+ 
+ 		stopifnot(file.exists(path), file.info(path.expand(path))$isdir)
+ 
+ 		source(file.path(path, "runTests.R"), echo = TRUE)
+ 	} else {
+ 		## Taking this message out until the new RMassBankData is on bioc, just to avoid confusion.
+         # message("Package RMassBankData with version > 1.99 not available, cannot run unit tests")
+ 	}
+ } else {
+ 	message("Package RUnit not available, cannot run unit tests")
+ }
NULL
> 
> proc.time()
   user  system elapsed 
  0.932   0.088   1.049 

Example timings

RMassBank.Rcheck/RMassBank-Ex.timings

nameusersystemelapsed
CTS.externalIdSubset000
CTS.externalIdTypes000
RmbDefaultSettings0.0080.0000.016
add.formula0.0040.0000.006
addMB000
addPeaks0.0000.0000.001
addPeaksManually000
aggregateSpectra0.0000.0000.001
analyzeMsMs000
annotator.default000
archiveResults0.0080.0000.009
cleanElnoise0.0000.0000.001
combineMultiplicities0.0040.0000.000
compileRecord0.0000.0000.001
createMolfile0.0000.0000.001
dbe0.0000.0000.001
deprofile000
exportMassbank0.0000.0000.001
filterLowaccResults000
filterMultiplicity000
filterPeakSatellites0.0040.0000.001
filterPeaksMultiplicity000
findMass0.6560.0240.281
findMsMsHR0.0040.0000.001
findMsMsHRperxcms000
findMz0.0000.0000.001
findMz.formula0.0280.0040.025
findProgress0.0000.0000.001
flatten0.0000.0000.001
formulastring.to.list0.0000.0000.002
gatherCompound0.0040.0000.001
gatherData0.0000.0000.001
gatherDataBabel000
gatherDataUnknown000
gatherPubChem0.0000.0000.001
getCSID0.0000.0000.001
getCactus0.2080.0361.765