Back to Multiple platform build/check report for BioC 3.21:   simplified   long
ABCDEFGHIJKL[M]NOPQRSTUVWXYZ

This page was generated on 2024-11-27 11:44 -0500 (Wed, 27 Nov 2024).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo1Linux (Ubuntu 24.04.1 LTS)x86_64R Under development (unstable) (2024-10-21 r87258) -- "Unsuffered Consequences" 4748
palomino7Windows Server 2022 Datacenterx64R Under development (unstable) (2024-10-26 r87273 ucrt) -- "Unsuffered Consequences" 4459
lconwaymacOS 12.7.1 Montereyx86_64R Under development (unstable) (2024-11-20 r87352) -- "Unsuffered Consequences" 4396
kjohnson3macOS 13.7.1 Venturaarm64R Under development (unstable) (2024-11-20 r87352) -- "Unsuffered Consequences" 4110
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

Package 1339/2272HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
msPurity 1.33.0  (landing page)
Thomas N. Lawson
Snapshot Date: 2024-11-26 13:40 -0500 (Tue, 26 Nov 2024)
git_url: https://git.bioconductor.org/packages/msPurity
git_branch: devel
git_last_commit: 6c0644f
git_last_commit_date: 2024-10-29 10:11:08 -0500 (Tue, 29 Oct 2024)
nebbiolo1Linux (Ubuntu 24.04.1 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
palomino7Windows Server 2022 Datacenter / x64  OK    OK    OK    OK  UNNEEDED, same version is already published
lconwaymacOS 12.7.1 Monterey / x86_64  OK    OK    ERROR    OK  
kjohnson3macOS 13.7.1 Ventura / arm64  OK    OK    ERROR    OK  


CHECK results for msPurity on kjohnson3

To the developers/maintainers of the msPurity package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/msPurity.git to reflect on this report. See Troubleshooting Build Report for more information.
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: msPurity
Version: 1.33.0
Command: /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:msPurity.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings msPurity_1.33.0.tar.gz
StartedAt: 2024-11-27 01:42:57 -0500 (Wed, 27 Nov 2024)
EndedAt: 2024-11-27 01:50:21 -0500 (Wed, 27 Nov 2024)
EllapsedTime: 444.5 seconds
RetCode: 1
Status:   ERROR  
CheckDir: msPurity.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:msPurity.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings msPurity_1.33.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.21-bioc/meat/msPurity.Rcheck’
* using R Under development (unstable) (2024-11-20 r87352)
* using platform: aarch64-apple-darwin20
* R was compiled by
    Apple clang version 14.0.0 (clang-1400.0.29.202)
    GNU Fortran (GCC) 12.2.0
* running under: macOS Ventura 13.7.1
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘msPurity/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘msPurity’ version ‘1.33.0’
* package encoding: UTF-8
* checking package namespace information ... NOTE
Found export directive that requires package ‘methods’:
  ‘exportMethods’
Remove all such namespace directives (if obsolete) or ensure that the
DESCRIPTION Depends or Imports field contains ‘methods’.
* checking package dependencies ...Warning: unable to access index for repository https://CRAN.R-project.org/src/contrib:
  cannot open URL 'https://CRAN.R-project.org/src/contrib/PACKAGES'
 OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... NOTE
Found the following hidden files and directories:
  .travis.yml
These were most likely included in error. See section ‘Package
structure’ in the ‘Writing R Extensions’ manual.
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘msPurity’ can be installed ... OK
* checking installed package size ... INFO
  installed size is 19.6Mb
  sub-directories of 1Mb or more:
    extdata  18.8Mb
* 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 code 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
Package in Depends field not imported from: ‘Rcpp’
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
package 'methods' is used but not declared
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
addGenericMS1LookupResults: no visible global function definition for
  ‘count.fields’
addMetFragResults: no visible global function definition for
  ‘count.fields’
addSiriusResults: no visible global function definition for
  ‘count.fields’
assessPuritySingle: no visible binding for global variable ‘parallel’
combineAnnotations: no visible binding for global variable
  ‘compoundDbname’
createDatabase: no visible global function definition for
  ‘featureValues’
create_database : getxcmsSetObject: no visible global function
  definition for ‘sampclass<-’
dimsPredictPuritySingleMz: no visible binding for global variable
  ‘mtchi’
dimsPredictPuritySingleMz: no visible binding for global variable
  ‘alli’
dimsPredictPuritySingleMz: no visible binding for global variable
  ‘mtch’
filterPrecursors: no visible binding for global variable
  ‘l_speakmetaFiltered’
filterSMeta: no visible binding for global variable ‘accession’
filterSMeta: no visible binding for global variable ‘inPurity’
filterSMeta: no visible global function definition for ‘lower’
filterSMeta: no visible binding for global variable ‘polarity’
filterSMeta: no visible binding for global variable ‘instrument_type’
filterSMeta: no visible binding for global variable ‘instrument’
filterSMeta: no visible binding for global variable ‘name.y’
filterSMeta: no visible binding for global variable ‘retention_time’
filterSMeta: no visible binding for global variable ‘grpid’
filterSMeta: no visible binding for global variable ‘pid’
filterSMeta: no visible binding for global variable ‘spectrum_type’
flag_remove: no visible global function definition for
  ‘PeakDensityParam’
flag_remove: no visible global function definition for ‘chromPeaks<-’
flag_remove: no visible global function definition for ‘chromPeaks’
getScanPeaksSqlite: no visible binding for global variable ‘pid’
getScanPeaksSqlite: no visible binding for global variable
  ‘library_spectra_meta_id’
getScanPeaksSqlite: no visible binding for global variable ‘pass_flag’
getScanPeaksSqlite: no visible binding for global variable ‘type’
getScanPeaksSqlite: no visible binding for global variable
  ‘spectraType’
getScanPeaksSqlite: no visible binding for global variable ‘ra’
getSmeta: no visible binding for global variable ‘pid’
get_topn: no visible binding for global variable ‘topn’
matchi: no visible global function definition for ‘match_factor’
plotPurity: no visible binding for global variable ‘idx’
plotPurity: no visible binding for global variable ‘purity’
plotPurity: no visible binding for global variable ‘variable’
purityA: no visible binding for global variable ‘i’
queryVlibrary: no visible binding for global variable ‘precursor_mz’
queryVlibrary: no visible binding for global variable ‘retention_time’
queryVlibrarySingle: no visible binding for global variable ‘pid’
queryVlibrarySingle: no visible binding for global variable
  ‘library_spectra_meta_id’
sum_calc_peaklist: no visible global function definition for
  ‘phenoData’
averageSpectra,purityD: no visible binding for global variable ‘i’
subtract,purityD: no visible binding for global variable ‘i’
Undefined global functions or variables:
  PeakDensityParam accession alli chromPeaks chromPeaks<-
  compoundDbname count.fields featureValues grpid i idx inPurity
  instrument instrument_type l_speakmetaFiltered
  library_spectra_meta_id lower match_factor mtch mtchi name.y parallel
  pass_flag phenoData pid polarity precursor_mz purity ra
  retention_time sampclass<- spectraType spectrum_type topn type
  variable
Consider adding
  importFrom("utils", "count.fields")
to your NAMESPACE file.
* checking Rd files ... NOTE
checkRd: (-1) createMSP-purityA-method.Rd:25: Lost braces; missing escapes or markup?
    25 | \item{msp_file_pth}{character; Name of the output msp file, if NULL the file "frag_spectra_{time stamp}.msp" will be created in the current directory}
       |                                                                                            ^
* 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
createDatabase                   52.121  1.734  44.618
frag4feature-purityA-method      46.463  1.998  38.842
flag_remove                      10.429  2.007   6.334
purityX                           8.834  1.096   9.929
dimsPredictPurity-purityD-method  8.744  0.566   9.309
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
    2.   └─msPurity:::export2sqlite(...)
    3.     └─msPurity:::custom_dbWriteTable(...)
    4.       ├─DBI::dbSendQuery(con, query)
    5.       └─DBI::dbSendQuery(con, query)
    6.         └─RSQLite (local) .local(conn, statement, ...)
    7.           ├─methods::new(...)
    8.           │ ├─methods::initialize(value, ...)
    9.           │ └─methods::initialize(value, ...)
   10.           └─RSQLite:::result_create(conn@ptr, statement)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 296 ]
  Error: Test failures
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... 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, 5 NOTEs
See
  ‘/Users/biocbuild/bbs-3.21-bioc/meat/msPurity.Rcheck/00check.log’
for details.


Installation output

msPurity.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL msPurity
###
##############################################################################
##############################################################################


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

Tests output

msPurity.Rcheck/tests/testthat.Rout.fail


R Under development (unstable) (2024-11-20 r87352) -- "Unsuffered Consequences"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20

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(testthat)
> library(msPurity)
Loading required package: Rcpp
> Sys.setenv("R_TESTS" = "")
> test_check("msPurity")
[1] "\n"
[1] "########################################################"
[1] "## Checking pcalc functions                           ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking purityA                                   ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking frag4feature                              ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking frag4feature (fillpeaks)                  ##"
[1] "########################################################"
[1] "/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/msPurity/extdata/tests/xcms/msms_only_xcmsnexp.rds"
[1] "/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/msPurity/extdata/tests/xcms/msms_only_xset.rds"
[1] "\n"
[1] "########################################################"
[1] "## Checking filterFragSpectra                         ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking averageIntraFragSpectra                   ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking averageInterFragSpectra                   ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking averageAllFragSpectra                   ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking averageIntraFragSpectra (with filter)     ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking averageInterFragSpectra (with filter)     ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking averageAllFragSpectra  (with filter)    ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking createMSP functions                       ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking frag4feature    (xcms v2 functions)       ##"
[1] "########################################################"
[1] "\n"
[1] "####################################################################"
[1] "## Checking frag4feature (fillpeaks)  (xcms v2 functions)         ##"
[1] "####################################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking filterFragSpectra  (xcms v2 functions)    ##"
[1] "########################################################"
[1] "\n"
[1] "##############################################################"
[1] "## Checking averageIntraFragSpectra (xcms v2 functions)     ##"
[1] "##############################################################"
[1] "\n"
[1] "#############################################################"
[1] "## Checking averageInterFragSpectra    (xcms v2 functions)  #"
[1] "#############################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking averageAllFragSpectra  (xcms v2 functions) #"
[1] "########################################################"
[1] "\n"
[1] "###########################################################################"
[1] "## Checking averageIntraFragSpectra (with filter)  (xcms v2 functions)   ##"
[1] "###########################################################################"
[1] "\n"
[1] "############################################################################"
[1] "## Checking averageInterFragSpectra (with filter)   (xcms v2 functions)   ##"
[1] "############################################################################"
[1] "\n"
[1] "#########################################################################"
[1] "## Checking averageAllFragSpectra  (with filter)  (xcms v2 functions)  ##"
[1] "#########################################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking createMSP functions   (xcms v2 functions) ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## checking flag and remove (lc-ms)                   ##"
[1] "########################################################"
[1] "\n"
[1] "#######################################################"
[1] "## Checking database (new schema)                    ##"
[1] "#######################################################"
[1] "\n"
[1] "###############################################################"
[1] "## Checking database (new schema)  (xcms v2 functions)       ##"
[1] "###############################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking database (old schema)                     ##"
[1] "########################################################"
2024-11-27 01:49:45.626 R[99211:26653213] XType: Using static font registry.
[1] "\n"
[1] "########################################################"
[1] "## Testing spectral matching (spectralMatching)  qvl  ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Testing spectral matching (spectralMatching)  lvl  ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Testing spectral matching (spectralMatching)   qvq ##"
[1] "########################################################"
[1] "\n"
[1] "#################################################################"
[1] "## Testing spectral matching (spectralMatching)   q(scan) v q ##"
[1] "#################################################################"
[1] "\n"
[1] "############################################################################"
[1] "## Testing spectral matching (spectralMatching)  qvl (xcms v2 functions)  ##"
[1] "############################################################################"
[1] "\n"
[1] "############################################################################"
[1] "## Testing spectral matching (spectralMatching)   qvq (xcms v2 functions) ##"
[1] "############################################################################"
[1] "\n"
[1] "######################################################################################"
[1] "## Testing spectral matching (spectralMatching)   q(scan) v q  (xcms v2 functions)  ##"
[1] "######################################################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking combine annotations based functions       ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking purityX (grouped)                         ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking purityX (single file)                     ##"
[1] "########################################################"
[1] "\n"
[1] "########################################################"
[1] "## Checking file list function                        ##"
[1] "########################################################"
[1] "=== check for using csv ==="
[1] "=== check for using mzML ==="
[1] "########################################################"
[1] "## Check average spectra (function only)              ##"
[1] "########################################################"
[1] "=== check single core ==="
[1] "=== check simple clustering ==="
[1] "=== check using MsFileReader output (median SNR thres) ==="
snmeth: median[1] "=== check using MsFileReader output (precalc SNR thres) ==="
snmeth: precalc[1] "########################################################"
[1] "## Check mz subtraction (function only)               ##"
[1] "########################################################"
[1] "########################################################"
[1] "## Check predict purity (function only)               ##"
[1] "########################################################"
[1] "=== Check predicted purity for mzML files ==="
[1] "########################################################"
[1] "## Check groupPeaks (function only)               ##"
[1] "########################################################"
[1] "=== check single core ==="
[1] "########################################################"
[1] "## Check mzML Workflow                                ##"
[1] "########################################################"
[1] "averaging spectra"
[1] "filtering spectra"
[1] "subtracting"
[1] "purity prediction"
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 296 ]

══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test.4_db.R:29:5'): checking createDatabase functions (new schema) ──
Error: table source already exists
Backtrace:
     ▆
  1. └─msPurity::createDatabase(pa = pa, xcmsObj = xcmsObj, outDir = td) at test.4_db.R:29:5
  2.   └─msPurity:::export2sqlite(...)
  3.     └─msPurity:::custom_dbWriteTable(...)
  4.       ├─DBI::dbSendQuery(con, query)
  5.       └─DBI::dbSendQuery(con, query)
  6.         └─RSQLite (local) .local(conn, statement, ...)
  7.           ├─methods::new(...)
  8.           │ ├─methods::initialize(value, ...)
  9.           │ └─methods::initialize(value, ...)
 10.           └─RSQLite:::result_create(conn@ptr, statement)
── Error ('test.4_db_OLD.R:20:3'): checking createDatabase functions (new schema) ──
Error: table source already exists
Backtrace:
     ▆
  1. └─msPurity::createDatabase(pa, xset, outDir = td) at test.4_db_OLD.R:20:3
  2.   └─msPurity:::export2sqlite(...)
  3.     └─msPurity:::custom_dbWriteTable(...)
  4.       ├─DBI::dbSendQuery(con, query)
  5.       └─DBI::dbSendQuery(con, query)
  6.         └─RSQLite (local) .local(conn, statement, ...)
  7.           ├─methods::new(...)
  8.           │ ├─methods::initialize(value, ...)
  9.           │ └─methods::initialize(value, ...)
 10.           └─RSQLite:::result_create(conn@ptr, statement)

[ FAIL 2 | WARN 0 | SKIP 0 | PASS 296 ]
Error: Test failures
In addition: Warning message:
call dbDisconnect() when finished working with a connection 
Execution halted

Example timings

msPurity.Rcheck/msPurity-Ex.timings

nameusersystemelapsed
Getfiles0.0010.0010.004
assessPuritySingle2.0880.0132.102
averageAllFragSpectra-purityA-method0.0460.0010.046
averageInterFragSpectra-purityA-method0.1360.0030.139
averageIntraFragSpectra-purityA-method0.1210.0020.123
averageSpectra-purityD-method1.1180.1681.290
averageSpectraSingle0.4370.0920.528
combineAnnotations2.3510.0822.435
createDatabase52.121 1.73444.618
createMSP-purityA-method0.0230.0030.028
create_database0.3760.0160.392
dimsPredictPurity-purityD-method8.7440.5669.309
dimsPredictPuritySingle0.0110.0000.012
filterFragSpectra-purityA-method0.0180.0010.018
filterp-purityD-method1.0910.1741.266
flag_remove10.429 2.007 6.334
frag4feature-purityA-method46.463 1.99838.842
getP-purityD-method0.0140.0040.018
get_additional_mzml_meta0.010.000.01
groupPeaks-purityD-method2.3270.4352.762
groupPeaksEx1.2880.2451.533
initialize-purityD-method0.0010.0000.001
iwNormGauss0.0000.0000.001
iwNormQE.50.0010.0000.000
iwNormRcosine0.0000.0010.001
pcalc0.0010.0000.001
purityA2.1320.0942.226
purityD-class0.0010.0000.001
purityX8.8341.0969.929
spectralMatching2.3290.4513.103
spectral_matching000
subtract-purityD-method1.4280.2771.707
subtractMZ000