Back to Build/check report for BioC 3.17:   simplified   long
AB[C]DEFGHIJKLMNOPQRSTUVWXYZ

This page was generated on 2023-03-01 07:38:38 -0000 (Wed, 01 Mar 2023).

HostnameOSArch (*)R versionInstalled pkgs
kunpeng1Linux (Ubuntu 22.04.1 LTS)aarch64R Under development (unstable) (2023-01-14 r83615) -- "Unsuffered Consequences" 4266
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

CHECK results for CompoundDb on kunpeng1


To the developers/maintainers of the CompoundDb package:
- Please allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/CompoundDb.git to
reflect on this report. See How and When does the builder pull? When will my changes propagate? for more information.
- Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 391/2171HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
CompoundDb 1.3.2  (landing page)
Johannes Rainer
Snapshot Date: 2023-02-27 07:53:22 -0000 (Mon, 27 Feb 2023)
git_url: https://git.bioconductor.org/packages/CompoundDb
git_branch: master
git_last_commit: 6d92e48
git_last_commit_date: 2023-01-18 05:36:51 -0000 (Wed, 18 Jan 2023)
kunpeng1Linux (Ubuntu 22.04.1 LTS) / aarch64  OK    OK    OK  

Summary

Package: CompoundDb
Version: 1.3.2
Command: /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:CompoundDb.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/library --timings CompoundDb_1.3.2.tar.gz
StartedAt: 2023-02-28 00:15:07 -0000 (Tue, 28 Feb 2023)
EndedAt: 2023-02-28 00:18:24 -0000 (Tue, 28 Feb 2023)
EllapsedTime: 197.3 seconds
RetCode: 0
Status:   OK  
CheckDir: CompoundDb.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:CompoundDb.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/library --timings CompoundDb_1.3.2.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.17-bioc/meat/CompoundDb.Rcheck’
* using R Under development (unstable) (2023-01-14 r83615)
* using platform: aarch64-unknown-linux-gnu (64-bit)
* R was compiled by
    gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
    GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
* running under: Ubuntu 22.04.1 LTS
* using session charset: UTF-8
* checking for file ‘CompoundDb/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘CompoundDb’ version ‘1.3.2’
* 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 ‘CompoundDb’ 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 ... OK
* 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
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
  ‘CompoundDb-usage.Rmd’ using ‘UTF-8’... OK
  ‘create-compounddb.Rmd’ using ‘UTF-8’... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

Status: OK


Installation output

CompoundDb.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD INSTALL CompoundDb
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.17-bioc/R/library’
* installing *source* package ‘CompoundDb’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for ‘mass2mz’ in package ‘CompoundDb’
** help
*** installing help indices
*** copying figures
** 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 (CompoundDb)

Tests output

CompoundDb.Rcheck/tests/testthat.Rout


R Under development (unstable) (2023-01-14 r83615) -- "Unsuffered Consequences"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-unknown-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.

> library("testthat")
> library("CompoundDb")
Loading required package: AnnotationFilter

Attaching package: 'AnnotationFilter'

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

    not

Loading required package: S4Vectors
Loading required package: stats4
Loading required package: BiocGenerics

Attaching package: 'BiocGenerics'

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, aperm, 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


Attaching package: 'S4Vectors'

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

    I, expand.grid, unname

> library(RSQLite)
> 
> hmdb <- system.file("sdf/HMDB_sub.sdf.gz", package = "CompoundDb")
> cmps <- compound_tbl_sdf(hmdb)
> metad <- data.frame(name = c("source", "url", "source_version",
+                              "source_date", "organism"),
+                     value = c("HMDB_test", "http://www.hmdb.ca",
+                               "v4", "2017-08-27", "Hsapiens"))
> db_file <- createCompDb(cmps, metadata = metad, path = tempdir())
> cmp_db <- CompDb(db_file)
> 
> dr <- system.file("xml/", package = "CompoundDb")
> msms_spctra <- msms_spectra_hmdb(dr)
Going to process 4 xml files.
Postprocessing data ... OK
> ## spl_ <- as(msms_spctra, "Spectra")
> 
> metad2 <- data.frame(name = c("source", "url", "source_version",
+                               "source_date", "organism"),
+                      value = c("HMDB_spctra", "http://www.hmdb.ca",
+                                "v4", "2017-08-27", "Hsapiens"))
> db_spctra_file <- createCompDb(cmps, metadata = metad2, path = tempdir(),
+                                msms_spectra = msms_spctra)
> cmp_spctra_db <- CompDb(db_spctra_file)
> 
> cdb <- CompDb(system.file("sql/CompDb.MassBank.sql", package = "CompoundDb"))
> 
> ions <- data.frame(compound_id = paste0("HMDB000000",
+                                         c("1", "1", "2", "2", "5")),
+                    ion_adduct = c("A", "B", "B", "C", "D"),
+                    ion_mz = c(100, 110, 150, 170, 200),
+                    ion_rt = c(50, 60, 100, 110, 90))
> ion_db <- IonDb(paste0(tempdir(), "/ion_db.db"), cmp_db, ions)
> 
> ion_spctra_db <- IonDb(paste0(tempdir(), "/ion_spctra_db.db"),
+                        cmp_spctra_db, ions)
> 
> test_check("CompoundDb")
MsBackendCompDb with 0 spectra
MsBackendCompDb with 4 spectra
    msLevel precursorMz  polarity
  <integer>   <numeric> <integer>
1        NA          NA         1
2        NA          NA         1
3        NA          NA         1
4        NA          NA         0
 ... 32 more variables/columns.
 Use  'spectraVariables' to list all of them.
 data source: HMDB_spctra 
 version: v4 
 organism: Hsapiens 
Creating package in /tmp/Rtmp8VTYGb/CompDb.Hsapiens.ChEBI.unknown 
[ FAIL 0 | WARN 11 | SKIP 1 | PASS 658 ]

══ Skipped tests ═══════════════════════════════════════════════════════════════
• empty test (1)

[ FAIL 0 | WARN 11 | SKIP 1 | PASS 658 ]
Warning message:
call dbDisconnect() when finished working with a connection 
> 
> library(Spectra)
Loading required package: BiocParallel
Loading required package: ProtGenerics

Attaching package: 'ProtGenerics'

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

    smooth

> be <- backendInitialize(MsBackendCompDb(), cmp_spctra_db)
> test_suite <- system.file("test_backends", "test_MsBackend",
+                           package = "Spectra")
> test_dir(test_suite, stop_on_failure = TRUE)
✔ | F W S  OK | Context

⠏ |         0 | spectra_subsetting                                              
⠋ |        11 | spectra_subsetting                                              
⠦ |        17 | spectra_subsetting                                              
⠧ |        18 | spectra_subsetting                                              
⠇ |        19 | spectra_subsetting                                              
⠏ |        20 | spectra_subsetting                                              
⠹ |        23 | spectra_subsetting                                              
⠸ |        24 | spectra_subsetting                                              
⠼ |        25 | spectra_subsetting                                              
⠏ |        30 | spectra_subsetting                                              
⠦ |     1  36 | spectra_subsetting                                              
✔ |     1  36 | spectra_subsetting [1.7s]
────────────────────────────────────────────────────────────────────────────────
Skip ('test_spectra_subsetting.R:90'): filterDataOrigin
Reason: empty test
────────────────────────────────────────────────────────────────────────────────

⠏ |         0 | spectra_variables                                               
⠙ |        12 | spectra_variables                                               
⠼ |        25 | spectra_variables                                               
⠦ |        37 | spectra_variables                                               
⠙ |        52 | spectra_variables                                               
⠼ |        55 | spectra_variables                                               
✔ |        64 | spectra_variables [0.6s]

══ Results ═════════════════════════════════════════════════════════════════════
Duration: 2.3 s

── Skipped tests  ──────────────────────────────────────────────────────────────
• empty test (1)

[ FAIL 0 | WARN 0 | SKIP 1 | PASS 100 ]
> 
> proc.time()
   user  system elapsed 
 21.773   1.089  22.858 

Example timings

CompoundDb.Rcheck/CompoundDb-Ex.timings

nameusersystemelapsed
CompDb0.9420.0320.977
Filter-classes0.0160.0000.016
IonDb0.2880.0040.291
MsBackendCompDb0.1750.0000.174
compound_tbl_lipidblast0.0440.0000.046
compound_tbl_sdf0.1460.0000.147
createCompDb0.3950.0040.402
expandMzIntensity0.0210.0030.024
import_mona_sdf0.0260.0000.027
msms_spectra_hmdb0.0390.0000.039
msms_spectra_mona0.0480.0080.057