Back to Multiple platform build/check report for BioC 3.20:   simplified   long
ABCDEFGHIJKL[M]NOPQRSTUVWXYZ

This page was generated on 2024-11-05 12:08 -0500 (Tue, 05 Nov 2024).

HostnameOSArch (*)R versionInstalled pkgs
teran2Linux (Ubuntu 24.04.1 LTS)x86_644.4.1 (2024-06-14) -- "Race for Your Life" 4503
nebbiolo2Linux (Ubuntu 24.04.1 LTS)x86_644.4.1 (2024-06-14) -- "Race for Your Life" 4763
palomino8Windows Server 2022 Datacenterx644.4.1 (2024-06-14 ucrt) -- "Race for Your Life" 4506
lconwaymacOS 12.7.1 Montereyx86_644.4.1 (2024-06-14) -- "Race for Your Life" 4539
kunpeng2Linux (openEuler 22.03 LTS-SP1)aarch644.4.1 (2024-06-14) -- "Race for Your Life" 4493
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

Package 1153/2289HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
martini 1.26.0  (landing page)
Hector Climente-Gonzalez
Snapshot Date: 2024-11-04 13:40 -0500 (Mon, 04 Nov 2024)
git_url: https://git.bioconductor.org/packages/martini
git_branch: RELEASE_3_20
git_last_commit: 314f72f
git_last_commit_date: 2024-10-29 10:25:51 -0500 (Tue, 29 Oct 2024)
teran2Linux (Ubuntu 24.04.1 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
nebbiolo2Linux (Ubuntu 24.04.1 LTS) / x86_64  OK    OK    OK  
palomino8Windows Server 2022 Datacenter / x64  OK    OK    OK    OK  UNNEEDED, same version is already published
lconwaymacOS 12.7.1 Monterey / x86_64  OK    OK    OK    OK  UNNEEDED, same version is already published
kunpeng2Linux (openEuler 22.03 LTS-SP1) / aarch64  OK    OK    ERROR  


CHECK results for martini on kunpeng2

To the developers/maintainers of the martini package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/martini.git to reflect on this report. See Troubleshooting Build Report for more information.
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.
- See Martin Grigorov's blog post for how to debug Linux ARM64 related issues on a x86_64 host.

raw results


Summary

Package: martini
Version: 1.26.0
Command: /home/biocbuild/R/R/bin/R CMD check --install=check:martini.install-out.txt --library=/home/biocbuild/R/R/site-library --no-vignettes --timings martini_1.26.0.tar.gz
StartedAt: 2024-11-05 09:31:28 -0000 (Tue, 05 Nov 2024)
EndedAt: 2024-11-05 09:35:58 -0000 (Tue, 05 Nov 2024)
EllapsedTime: 269.5 seconds
RetCode: 1
Status:   ERROR  
CheckDir: martini.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/R/R/bin/R CMD check --install=check:martini.install-out.txt --library=/home/biocbuild/R/R/site-library --no-vignettes --timings martini_1.26.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.20-bioc/meat/martini.Rcheck’
* using R version 4.4.1 (2024-06-14)
* using platform: aarch64-unknown-linux-gnu
* R was compiled by
    gcc (GCC) 12.2.1 20220819 (openEuler 12.2.1-14)
    GNU Fortran (GCC) 10.3.1
* running under: openEuler 22.03 (LTS-SP1)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘martini/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘martini’ version ‘1.26.0’
* 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 for sufficient/correct file permissions ... OK
* checking whether package ‘martini’ can be installed ... WARNING
Found the following significant warnings:
  /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h:1671:9: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} from an array of 'const int8_t' {aka 'const signed char'} [-Wclass-memaccess]
  /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h:1716:9: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} from an array of 'const int8_t' {aka 'const signed char'} [-Wclass-memaccess]
See ‘/home/biocbuild/bbs-3.20-bioc/meat/martini.Rcheck/00install.out’ for details.
* used C++ compiler: ‘g++ (conda-forge gcc 14.2.0-1) 14.2.0’
* 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 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 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 ... NOTE
get_GI_network: no visible binding for global variable ‘gene1’
get_GI_network: no visible binding for global variable ‘gene2’
get_GM_network: no visible binding for global variable ‘gene’
group_snps: no visible binding for global variable ‘.’
Undefined global functions or variables:
  . gene gene1 gene2
* 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 ... NOTE
Documented arguments not in \usage in Rd file 'organism_id2name.Rd':
  ‘organism’

Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
* 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 line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
File ‘/home/biocbuild/R/R-4.4.1/site-library/martini/libs/martini.so’:
  Found ‘exit’, possibly from ‘exit’ (C)

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 ... OK
* 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:
  [1] 25 - 12 == 13
  ── Failure ('test_scones.cv.R:33:3'): we recover causal SNPs ───────────────────
  sort(names(V(cones))) not equal to sort(grep("[AC]", test_map$snp, value = TRUE)).
  Lengths differ: 25 is not 12
  ── Failure ('test_sigmod.cv.R:32:3'): we recover causal SNPs ───────────────────
  gorder(cones) not equal to sum(grepl("[AC]", test_map$snp)).
  1/1 mismatches
  [1] 25 - 12 == 13
  ── Failure ('test_sigmod.cv.R:33:3'): we recover causal SNPs ───────────────────
  sort(names(V(cones))) not equal to sort(grep("[AC]", test_map$snp, value = TRUE)).
  Lengths differ: 25 is not 12
  
  [ FAIL 4 | WARN 3 | SKIP 4 | PASS 228 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... 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, 1 WARNING, 3 NOTEs
See
  ‘/home/biocbuild/bbs-3.20-bioc/meat/martini.Rcheck/00check.log’
for details.


Installation output

martini.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/R/R/bin/R CMD INSTALL martini
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/R/R-4.4.1/site-library’
* installing *source* package ‘martini’ ...
** using staged installation
** libs
using C++ compiler: ‘g++ (conda-forge gcc 14.2.0-1) 14.2.0’
g++ -std=gnu++17 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include' -I/usr/local/include   -std=c++11 -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -I./lib `/home/biocbuild/R/R-4.4.1/bin/Rscript -e "Rcpp:::CxxFlags()"` -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -fopenmp -fPIC  -g -O2  -Wall  -c RcppExports.cpp -o RcppExports.o
In file included from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/Core:214,
                 from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/Dense:1,
                 from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/RcppEigenForward.h:28,
                 from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/RcppEigen.h:25,
                 from ../inst/include/martini_RcppExports.h:7,
                 from ../inst/include/martini.h:7,
                 from RcppExports.cpp:4:
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h: In function 'Packet Eigen::internal::pload(const typename unpacket_traits<T>::type*) [with Packet = eigen_packet_wrapper<int, 2>; typename unpacket_traits<T>::type = signed char]':
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h:1671:9: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} from an array of 'const int8_t' {aka 'const signed char'} [-Wclass-memaccess]
 1671 |   memcpy(&res, from, sizeof(Packet4c));
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/Core:172:
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/GenericPacketMath.h:159:8: note: 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} declared here
  159 | struct eigen_packet_wrapper
      |        ^~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h: In function 'Packet Eigen::internal::ploadu(const typename unpacket_traits<T>::type*) [with Packet = eigen_packet_wrapper<int, 2>; typename unpacket_traits<T>::type = signed char]':
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h:1716:9: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} from an array of 'const int8_t' {aka 'const signed char'} [-Wclass-memaccess]
 1716 |   memcpy(&res, from, sizeof(Packet4c));
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/GenericPacketMath.h:159:8: note: 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} declared here
  159 | struct eigen_packet_wrapper
      |        ^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include' -I/usr/local/include   -std=c++11 -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -I./lib `/home/biocbuild/R/R-4.4.1/bin/Rscript -e "Rcpp:::CxxFlags()"` -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -fopenmp -fPIC  -g -O2  -Wall  -c mincut.cpp -o mincut.o
In file included from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/Core:214,
                 from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/Dense:1,
                 from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/RcppEigenForward.h:28,
                 from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/RcppEigen.h:25,
                 from mincut.cpp:7:
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h: In function 'Packet Eigen::internal::pload(const typename unpacket_traits<T>::type*) [with Packet = eigen_packet_wrapper<int, 2>; typename unpacket_traits<T>::type = signed char]':
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h:1671:9: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} from an array of 'const int8_t' {aka 'const signed char'} [-Wclass-memaccess]
 1671 |   memcpy(&res, from, sizeof(Packet4c));
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/Core:172:
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/GenericPacketMath.h:159:8: note: 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} declared here
  159 | struct eigen_packet_wrapper
      |        ^~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h: In function 'Packet Eigen::internal::ploadu(const typename unpacket_traits<T>::type*) [with Packet = eigen_packet_wrapper<int, 2>; typename unpacket_traits<T>::type = signed char]':
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/arch/NEON/PacketMath.h:1716:9: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} from an array of 'const int8_t' {aka 'const signed char'} [-Wclass-memaccess]
 1716 |   memcpy(&res, from, sizeof(Packet4c));
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include/Eigen/src/Core/GenericPacketMath.h:159:8: note: 'Eigen::internal::Packet4c' {aka 'struct Eigen::internal::eigen_packet_wrapper<int, 2>'} declared here
  159 | struct eigen_packet_wrapper
      |        ^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/RcppEigen/include' -I/usr/local/include   -std=c++11 -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -I./lib `/home/biocbuild/R/R-4.4.1/bin/Rscript -e "Rcpp:::CxxFlags()"` -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -fopenmp -fPIC  -g -O2  -Wall  -c lib/maxflow/maxflow.cpp -o lib/maxflow/maxflow.o
lib/maxflow/maxflow.cpp: In member function 'void Graph<captype, tcaptype, flowtype>::reallocate_nodes(int) [with captype = int; tcaptype = int; flowtype = int]':
lib/maxflow/maxflow.cpp:777:91: warning: pointer 'nodes_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  777 |                         if (i->next) i->next = (node*) ((char*)i->next + (((char*) nodes) - ((char*) nodes_old)));
      |                                                                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:765:32: note: call to 'void* realloc(void*, size_t)' here
  765 |         nodes = (node*) realloc(nodes_old, node_num_max*sizeof(node));
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:781:78: warning: pointer 'nodes_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  781 |                         a->head = (node*) ((char*)a->head + (((char*) nodes) - ((char*) nodes_old)));
      |                                                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:765:32: note: call to 'void* realloc(void*, size_t)' here
  765 |         nodes = (node*) realloc(nodes_old, node_num_max*sizeof(node));
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp: In member function 'void Graph<captype, tcaptype, flowtype>::reallocate_arcs() [with captype = int; tcaptype = int; flowtype = int]':
lib/maxflow/maxflow.cpp:807:143: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  807 |                         if (i->parent && i->parent != ORPHAN && i->parent != TERMINAL) i->parent = (arc*) ((char*)i->parent + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                                                                               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:806:92: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  806 |                         if (i->first) i->first = (arc*) ((char*)i->first + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:812:80: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  812 |                         a->sister = (arc*) ((char*)a->sister + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:811:89: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  811 |                         if (a->next) a->next = (arc*) ((char*)a->next + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp: In member function 'void Graph<captype, tcaptype, flowtype>::reallocate_nodes(int) [with captype = short int; tcaptype = int; flowtype = int]':
lib/maxflow/maxflow.cpp:777:91: warning: pointer 'nodes_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  777 |                         if (i->next) i->next = (node*) ((char*)i->next + (((char*) nodes) - ((char*) nodes_old)));
      |                                                                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:765:32: note: call to 'void* realloc(void*, size_t)' here
  765 |         nodes = (node*) realloc(nodes_old, node_num_max*sizeof(node));
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:781:78: warning: pointer 'nodes_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  781 |                         a->head = (node*) ((char*)a->head + (((char*) nodes) - ((char*) nodes_old)));
      |                                                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:765:32: note: call to 'void* realloc(void*, size_t)' here
  765 |         nodes = (node*) realloc(nodes_old, node_num_max*sizeof(node));
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp: In member function 'void Graph<captype, tcaptype, flowtype>::reallocate_arcs() [with captype = short int; tcaptype = int; flowtype = int]':
lib/maxflow/maxflow.cpp:807:143: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  807 |                         if (i->parent && i->parent != ORPHAN && i->parent != TERMINAL) i->parent = (arc*) ((char*)i->parent + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                                                                               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:806:92: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  806 |                         if (i->first) i->first = (arc*) ((char*)i->first + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:812:80: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  812 |                         a->sister = (arc*) ((char*)a->sister + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:811:89: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  811 |                         if (a->next) a->next = (arc*) ((char*)a->next + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp: In member function 'void Graph<captype, tcaptype, flowtype>::reallocate_nodes(int) [with captype = float; tcaptype = float; flowtype = float]':
lib/maxflow/maxflow.cpp:777:91: warning: pointer 'nodes_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  777 |                         if (i->next) i->next = (node*) ((char*)i->next + (((char*) nodes) - ((char*) nodes_old)));
      |                                                                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:765:32: note: call to 'void* realloc(void*, size_t)' here
  765 |         nodes = (node*) realloc(nodes_old, node_num_max*sizeof(node));
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:781:78: warning: pointer 'nodes_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  781 |                         a->head = (node*) ((char*)a->head + (((char*) nodes) - ((char*) nodes_old)));
      |                                                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:765:32: note: call to 'void* realloc(void*, size_t)' here
  765 |         nodes = (node*) realloc(nodes_old, node_num_max*sizeof(node));
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp: In member function 'void Graph<captype, tcaptype, flowtype>::reallocate_arcs() [with captype = float; tcaptype = float; flowtype = float]':
lib/maxflow/maxflow.cpp:807:143: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  807 |                         if (i->parent && i->parent != ORPHAN && i->parent != TERMINAL) i->parent = (arc*) ((char*)i->parent + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                                                                               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:806:92: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  806 |                         if (i->first) i->first = (arc*) ((char*)i->first + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:812:80: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  812 |                         a->sister = (arc*) ((char*)a->sister + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:811:89: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  811 |                         if (a->next) a->next = (arc*) ((char*)a->next + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp: In member function 'void Graph<captype, tcaptype, flowtype>::reallocate_nodes(int) [with captype = double; tcaptype = double; flowtype = double]':
lib/maxflow/maxflow.cpp:777:91: warning: pointer 'nodes_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  777 |                         if (i->next) i->next = (node*) ((char*)i->next + (((char*) nodes) - ((char*) nodes_old)));
      |                                                                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:765:32: note: call to 'void* realloc(void*, size_t)' here
  765 |         nodes = (node*) realloc(nodes_old, node_num_max*sizeof(node));
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:781:78: warning: pointer 'nodes_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  781 |                         a->head = (node*) ((char*)a->head + (((char*) nodes) - ((char*) nodes_old)));
      |                                                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:765:32: note: call to 'void* realloc(void*, size_t)' here
  765 |         nodes = (node*) realloc(nodes_old, node_num_max*sizeof(node));
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp: In member function 'void Graph<captype, tcaptype, flowtype>::reallocate_arcs() [with captype = double; tcaptype = double; flowtype = double]':
lib/maxflow/maxflow.cpp:807:143: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  807 |                         if (i->parent && i->parent != ORPHAN && i->parent != TERMINAL) i->parent = (arc*) ((char*)i->parent + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                                                                               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:806:92: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  806 |                         if (i->first) i->first = (arc*) ((char*)i->first + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:812:80: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  812 |                         a->sister = (arc*) ((char*)a->sister + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:811:89: warning: pointer 'arcs_old' may be used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  811 |                         if (a->next) a->next = (arc*) ((char*)a->next + (((char*) arcs) - ((char*) arcs_old)));
      |                                                                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lib/maxflow/maxflow.cpp:794:30: note: call to 'void* realloc(void*, size_t)' here
  794 |         arcs = (arc*) realloc(arcs_old, arc_num_max*sizeof(arc));
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar -crus libmaxflow.a lib/maxflow/maxflow.o
cp -r lib/maxflow "/home/biocbuild/R/R-4.4.1/site-library/00LOCK-martini/00new/martini/include"
mkdir -p "/home/biocbuild/R/R-4.4.1/site-library/00LOCK-martini/00new/martini/usrlib"
cp libmaxflow.a "/home/biocbuild/R/R-4.4.1/site-library/00LOCK-martini/00new/martini/usrlib"
g++ -std=gnu++17 -shared -L/home/biocbuild/R/R-4.4.1/lib -L/usr/local/lib -o martini.so RcppExports.o mincut.o -pthread -fopenmp /home/biocbuild/R/R-4.4.1/site-library/00LOCK-martini/00new/martini/usrlib/libmaxflow.a -fopenmp -pthread -L/home/biocbuild/R/R-4.4.1/lib -lR
installing to /home/biocbuild/R/R-4.4.1/site-library/00LOCK-martini/00new/martini/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (martini)

Tests output

martini.Rcheck/tests/testthat.Rout.fail


R version 4.4.1 (2024-06-14) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: aarch64-unknown-linux-gnu

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(martini)
> library(igraph)

Attaching package: 'igraph'

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

    compare

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

    decompose, spectrum

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

    union

> 
> test_check("martini")
trying URL 'https://stringdb-downloads.org/download/protein.links.v11.5/9606.protein.links.v11.5.txt.gz'
Content type 'application/octet-stream' length 72718210 bytes (69.3 MB)
==================================================
downloaded 69.3 MB

[ FAIL 4 | WARN 3 | SKIP 4 | PASS 228 ]

══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On Bioconductor (3): 'test_connect_biomart.R:1:1', 'test_get_gxg.R:1:1',
  'test_snp2ensembl.R:1:1'
• empty test (1): 'test_plot_ideogram.R:3:1'

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_scones.cv.R:32:3'): we recover causal SNPs ───────────────────
gorder(cones) not equal to sum(grepl("[AC]", test_map$snp)).
1/1 mismatches
[1] 25 - 12 == 13
── Failure ('test_scones.cv.R:33:3'): we recover causal SNPs ───────────────────
sort(names(V(cones))) not equal to sort(grep("[AC]", test_map$snp, value = TRUE)).
Lengths differ: 25 is not 12
── Failure ('test_sigmod.cv.R:32:3'): we recover causal SNPs ───────────────────
gorder(cones) not equal to sum(grepl("[AC]", test_map$snp)).
1/1 mismatches
[1] 25 - 12 == 13
── Failure ('test_sigmod.cv.R:33:3'): we recover causal SNPs ───────────────────
sort(names(V(cones))) not equal to sort(grep("[AC]", test_map$snp, value = TRUE)).
Lengths differ: 25 is not 12

[ FAIL 4 | WARN 3 | SKIP 4 | PASS 228 ]
Error: Test failures
Execution halted

Example timings

martini.Rcheck/martini-Ex.timings

nameusersystemelapsed
check_installed0.0000.0000.001
get_GI_network0.0590.0000.059
get_GM_network0.0210.0000.021
get_GS_network0.0090.0000.009
get_grid0.0030.0000.003
get_gxg_biogrid000
get_gxg_string000
get_snp_modules000
is_coherent0.0040.0000.004
ldweight_edges0.1420.0040.146
mget_gxg_biogrid000
mget_gxg_string000
minigwas0.0230.0000.023
minippi0.0030.0000.002
minisnpMapping0.0020.0000.002
scones0.0820.0720.154
scones.cv0.1820.0240.207
scones.cv_0.1220.0040.126
scones_0.0440.0040.048
search_cones000
sigmod0.0460.0000.045
sigmod.cv0.1740.0000.175
sigmod.cv_0.1080.0040.112
sigmod_0.0580.0000.059
simulate_causal_snps0.0460.0000.046
simulate_phenotype0.0490.0000.049
subnet0.0430.0000.043
subvert0.050.000.05