* using log directory 'd:/Rcompile/CRANpkg/local/4.4/isoorbi.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'isoorbi/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'isoorbi' version '1.3.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 'isoorbi' can be installed ... OK * checking installed package size ... NOTE installed size is 6.1Mb sub-directories of 1Mb or more: doc 2.0Mb extdata 3.3Mb * 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [11s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [7s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [20s] ERROR Running 'testthat.R' [19s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(dplyr) Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > > # run the test > test_check("isoorbi") Loading required package: isoorbi [ FAIL 5 | WARN 1 | SKIP 0 | PASS 350 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_blocks_functions.R:352:3'): test orbi_add_blocks_to_plot() ─── orbi_add_blocks_to_plot(fig) has type 'object', not 'list'. Backtrace: ▆ 1. ├─base::suppressMessages(...) at test_blocks_functions.R:352:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_type(orbi_add_blocks_to_plot(fig), "list") ── Failure ('test_plotting_functions.R:84:3'): orbi_plot_satellite_peaks() tests ── orbi_plot_satellite_peaks(df2) has type 'object', not 'list'. ── Failure ('test_plotting_functions.R:107:3'): orbi_plot_raw_data() tests ───── orbi_plot_raw_data(df, y = "ratio") has type 'object', not 'list'. ── Failure ('test_plotting_functions.R:139:3'): orbi_plot_isotopocule_coverage() tests ── `fig` has type 'object', not 'list'. ── Failure ('test_shotnoise_functions.R:94:3'): orbi_plot_shot_noise() tests ─── orbi_plot_shot_noise(df, "time.min") has type 'object', not 'list'. [ FAIL 5 | WARN 1 | SKIP 0 | PASS 350 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [49s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 1 ERROR, 1 NOTE