* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/InterpretMSSpectrum.Rcheck’ * using R Under development (unstable) (2024-04-19 r86451) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-13 (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘InterpretMSSpectrum/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘InterpretMSSpectrum’ version ‘1.4.5’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘InterpretMSSpectrum’ can be installed ... [9s/13s] 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 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 loading without being on the library search path ... OK * checking use of S3 registration ... 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 ... [19s/28s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [11s/18s] [11s/19s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(InterpretMSSpectrum) > > test_check("InterpretMSSpectrum") The use of this function requires package 'Rdisop'. Please install with 'BiocManager::install("Rdisop")' The use of this function requires package 'Rdisop'. Please install with 'BiocManager::install("Rdisop")' The use of this function requires package 'Rdisop'. Please install with 'BiocManager::install("Rdisop")' The use of this function requires package 'Rdisop'. Please install with 'BiocManager::install("Rdisop")' The use of this function requires package 'Rdisop'. Please install with 'BiocManager::install("Rdisop")' The use of this function requires package 'Rdisop'. Please install with 'BiocManager::install("Rdisop")' The use of this function requires package 'Rdisop'. Please install with 'BiocManager::install("Rdisop")' [ FAIL 9 | WARN 0 | SKIP 0 | PASS 62 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-InterpretMSSpectrum.R:15:5'): InterpretMSSpectrum works ────── `out` has length 0, not length 10. ── Failure ('test-InterpretMSSpectrum.R:16:5'): InterpretMSSpectrum works ────── attr(out, "stats")[, "mz"] (`actual`) not equal to c(202.0893, 246.1339, 274.1288, 348.1477, 364.1789) (`expected`). `actual` is NULL `expected` is a double vector (202.0893, 246.1339, 274.1288, 348.1477, 364.1789) ── Failure ('test-InterpretMSSpectrum.R:23:5'): InterpretMSSpectrum works ────── `out` has length 0, not length 6. ── Failure ('test-InterpretTP.R:7:5'): InterpretTP returns expected result ───── is.list(out) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-InterpretTP.R:10:5'): InterpretTP returns expected result ──── is.list(out) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-InterpretTP.R:12:5'): InterpretTP returns expected result ──── is.list(out) is not TRUE `actual`: FALSE `expected`: TRUE ── Error ('test-PlotSpec.R:7:5'): PlotSpec plot returns expected result for APCI ── Error in `loadNamespace(x)`: there is no package called 'vdiffr' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-PlotSpec.R:7:5 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-PlotSpec.R:22:5'): PlotSpec plot returns expected result for ESI ── Error in `loadNamespace(x)`: there is no package called 'vdiffr' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-PlotSpec.R:22:5 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-findMAIN.R:65:5'): findMAIN plot returns expected result ─────── Error in `loadNamespace(x)`: there is no package called 'vdiffr' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-findMAIN.R:65:5 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 9 | WARN 0 | SKIP 0 | PASS 62 ] Deleting unused snapshots: • PlotSpec/plotspec-01.svg • PlotSpec/plotspec-02.svg • findMAIN/findmain-plot-01.svg Error: Test failures Execution halted * checking PDF version of manual ... [8s/12s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/gannet/ripley/R/packages/tests-Suggests/InterpretMSSpectrum.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:00.53, 71.21 + 9.19