############################################################################## ############################################################################## ### ### Running command: ### ### F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:biodbHmdb.install-out.txt --library=F:\biocbuild\bbs-3.17-bioc\R\library --no-vignettes --timings biodbHmdb_1.6.1.tar.gz ### ############################################################################## ############################################################################## * using log directory 'F:/biocbuild/bbs-3.17-bioc/meat/biodbHmdb.Rcheck' * using R version 4.3.1 (2023-06-16 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.2.0 GNU Fortran (GCC) 12.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * using option '--no-vignettes' * checking for file 'biodbHmdb/DESCRIPTION' ... OK * this is package 'biodbHmdb' version '1.6.1' * 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 whether package 'biodbHmdb' can be installed ... WARNING Found the following significant warnings: EntryMaker.hpp:23:21: warning: 'EntryMaker::accession_tag' will be initialized after [-Wreorder] EntryMaker.hpp:22:14: warning: 'bool EntryMaker::closed' [-Wreorder] EntryMaker.cpp:5:1: warning: when initialized here [-Wreorder] See 'F:/biocbuild/bbs-3.17-bioc/meat/biodbHmdb.Rcheck/00install.out' for details. * used C++ compiler: 'G__~1.EXE (GCC) 12.2.0' * checking installed package size ... OK * checking package 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 Namespace in Imports field not imported from: 'zip' All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: 'HmdbMetabolitesConn' 'HmdbMetabolitesEntry' 'hmdbToSqlite' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking line endings in C/C++/Fortran sources/headers ... OK * checking compiled code ... NOTE Note: information on .o files for x64 is not available File 'F:/biocbuild/bbs-3.17-bioc/R/library/biodbHmdb/libs/x64/biodbHmdb.dll': Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran) Found 'exit', possibly from 'exit' (C), 'stop' (Fortran) Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system RNGs nor [v]sprintf. The detected symbols are linked into the code but might come from libraries and not actually be called. See 'Writing portable packages' in the 'Writing R Extensions' manual. * checking files in 'vignettes' ... OK * checking examples ... NONE * 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: 3. └─testthat::expect_equal(ids, c("HMDB0000001", "HMDB0000002")) at test_300_search.R:8:4 ── Error ('test_300_search.R:42:1'): We can search for multiple words inside description field. ── Error in `entry$hasField(f)`: attempt to apply non-function Backtrace: ▆ 1. ├─base::do.call(fct, params) 2. └─biodbHmdb (local) ``(conn = ``) 3. └─conn$searchForEntries(fields = list(description = words), max.results = 3) at test_300_search.R:11:4 4. └─private$doSearchForEntries(fields = fields, max.results = max.results) 5. └─base::vapply(names(fields), tryMatch, FUN.VALUE = TRUE) 6. └─biodbHmdb (local) FUN(X[[i]], ...) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 268 ] Error: Test failures Execution halted * 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, 2 WARNINGs, 2 NOTEs See 'F:/biocbuild/bbs-3.17-bioc/meat/biodbHmdb.Rcheck/00check.log' for details.