* using log directory ‘/data/gannet/ripley/R/packages/tests-ATLAS/crosstalkr.Rcheck’ * using R Under development (unstable) (2024-03-20 r86155) * 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 ‘crosstalkr/DESCRIPTION’ ... OK * this is package ‘crosstalkr’ version ‘1.0.4’ * 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 ‘crosstalkr’ can be installed ... [37s/63s] OK * used C++ compiler: ‘g++-13 (GCC) 13.2.0’ * 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 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 ... [10s/25s] 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 line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [6s/14s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [78s/201s] [79s/202s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(crosstalkr) > > test_check("crosstalkr") [ FAIL 1 | WARN 2 | SKIP 12 | PASS 85 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (6): 'test-filter.R:33:3', 'test-ppi_ingest.R:18:3', 'test-ppi_ingest.R:26:3', 'test-ppi_ingest.R:32:3', 'test-utils.R:11:3', 'test-utils.R:17:3' • relies on installed data (2): 'test-utils.R:52:3', 'test-utils.R:59:3' • relies on system file (2): 'test-calc_np.R:1:1', 'test-node_suppression.R:1:1' • skipping due to long download times (2): 'test-ppi_ingest.R:3:3', 'test-ppi_ingest.R:9:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-create_null.R:41:3'): Matched seeds are the same length as input seeds ── Error in `sample.int(length(x), size, replace, prob)`: invalid first argument Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-create_null.R:41:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─crosstalkr:::match_seeds(g = g, seed_proteins = 50, n = 1) 5. └─base::sample(degree_all, size = num_seeds) 6. └─base::sample.int(length(x), size, replace, prob) [ FAIL 1 | WARN 2 | SKIP 12 | PASS 85 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [90s/228s] OK * checking PDF version of manual ... [11s/31s] 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-ATLAS/crosstalkr.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 11:59.91, 276.71 + 19.02