Back to Multiple platform build/check report for BioC 3.21:   simplified   long
ABCDEFG[H]IJKLMNOPQRSTUVWXYZ

This page was generated on 2024-12-24 11:46 -0500 (Tue, 24 Dec 2024).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo1Linux (Ubuntu 24.04.1 LTS)x86_64R Under development (unstable) (2024-10-21 r87258) -- "Unsuffered Consequences" 4754
palomino7Windows Server 2022 Datacenterx64R Under development (unstable) (2024-10-26 r87273 ucrt) -- "Unsuffered Consequences" 4472
lconwaymacOS 12.7.1 Montereyx86_64R Under development (unstable) (2024-11-20 r87352) -- "Unsuffered Consequences" 4426
kjohnson3macOS 13.7.1 Venturaarm64R Under development (unstable) (2024-11-20 r87352) -- "Unsuffered Consequences" 4381
kunpeng2Linux (openEuler 22.03 LTS-SP1)aarch64R Under development (unstable) (2024-11-24 r87369) -- "Unsuffered Consequences" 4373
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 943/2274HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
HGC 1.15.0  (landing page)
XGlab
Snapshot Date: 2024-12-23 13:40 -0500 (Mon, 23 Dec 2024)
git_url: https://git.bioconductor.org/packages/HGC
git_branch: devel
git_last_commit: c8f04e4
git_last_commit_date: 2024-10-29 11:00:00 -0500 (Tue, 29 Oct 2024)
nebbiolo1Linux (Ubuntu 24.04.1 LTS) / x86_64  OK    OK    WARNINGS  UNNEEDED, same version is already published
palomino7Windows Server 2022 Datacenter / x64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published
lconwaymacOS 12.7.1 Monterey / x86_64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published
kjohnson3macOS 13.7.1 Ventura / arm64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published
kunpeng2Linux (openEuler 22.03 LTS-SP1) / aarch64  OK    OK    WARNINGS  


CHECK results for HGC on kunpeng2

To the developers/maintainers of the HGC package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/HGC.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: HGC
Version: 1.15.0
Command: /home/biocbuild/R/R/bin/R CMD check --install=check:HGC.install-out.txt --library=/home/biocbuild/R/R/site-library --no-vignettes --timings HGC_1.15.0.tar.gz
StartedAt: 2024-12-24 07:34:55 -0000 (Tue, 24 Dec 2024)
EndedAt: 2024-12-24 07:40:42 -0000 (Tue, 24 Dec 2024)
EllapsedTime: 347.3 seconds
RetCode: 0
Status:   WARNINGS  
CheckDir: HGC.Rcheck
Warnings: 2

Command output

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


* using log directory ‘/home/biocbuild/bbs-3.21-bioc/meat/HGC.Rcheck’
* using R Under development (unstable) (2024-11-24 r87369)
* using platform: aarch64-unknown-linux-gnu
* R was compiled by
    aarch64-unknown-linux-gnu-gcc (GCC) 14.2.0
    GNU Fortran (GCC) 14.2.0
* running under: openEuler 24.03 (LTS)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘HGC/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘HGC’ version ‘1.15.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 ‘HGC’ can be installed ... WARNING
Found the following significant warnings:
  /home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.21-bioc/meat/HGC.Rcheck/00install.out’ for details.
* used C++ compiler: ‘aarch64-unknown-linux-gnu-g++ (GCC) 14.2.0’
* checking C++ specification ... NOTE
  Specified C++11: please drop specification unless essential
* 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 ... WARNING
'::' or ':::' imports not declared from:
  ‘Seurat’ ‘igraph’
'library' or 'require' calls not declared from:
  ‘Matrix’ ‘Seurat’ ‘igraph’
'library' or 'require' calls in package code:
  ‘Matrix’ ‘Seurat’ ‘igraph’
  Please use :: or requireNamespace() instead.
  See section 'Suggested packages' in the 'Writing R Extensions' manual.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* 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 ... 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 data for ASCII and uncompressed saves ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                    user system elapsed
PMSTConstruction 151.743  0.204 152.284
MSTConstruction    7.632  0.092   7.737
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 OK
* 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: 2 WARNINGs, 2 NOTEs
See
  ‘/home/biocbuild/bbs-3.21-bioc/meat/HGC.Rcheck/00check.log’
for details.


Installation output

HGC.Rcheck/00install.out

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


* installing to library ‘/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library’
* installing *source* package ‘HGC’ ...
** using staged installation
** libs
using C++ compiler: ‘aarch64-unknown-linux-gnu-g++ (GCC) 14.2.0’
using C++11
/opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include' -I/usr/local/include    -fPIC  -g -O2  -Wall -Werror=format-security -DR_NO_REMAP -c HGC_unordered_map.cpp -o HGC_unordered_map.o
In file included from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:214,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Dense:1,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigenForward.h:28,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigen.h:25,
                 from HGC_unordered_map.cpp:6:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:172:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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
      |        ^~~~~~~~~~~~~~~~~~~~
HGC_unordered_map.cpp: In member function ‘void Graph::add_node(int)’:
HGC_unordered_map.cpp:165:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unordered_map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  165 |   if (node == adj.size()) {
      |       ~~~~~^~~~~~~~~~~~~
HGC_unordered_map.cpp: In member function ‘void Graph::add_edge(Edge)’:
HGC_unordered_map.cpp:177:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unordered_map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  177 |   if (e.node1 < adj.size() && e.node2 < adj.size()) {
      |       ~~~~~~~~^~~~~~~~~~~~
HGC_unordered_map.cpp:177:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unordered_map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  177 |   if (e.node1 < adj.size() && e.node2 < adj.size()) {
      |                               ~~~~~~~~^~~~~~~~~~~~
/opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include' -I/usr/local/include    -fPIC  -g -O2  -Wall -Werror=format-security -DR_NO_REMAP -c RHGC_unordered_map.cpp -o RHGC_unordered_map.o
In file included from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:214,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Dense:1,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigenForward.h:28,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigen.h:25,
                 from RHGC_unordered_map.cpp:8:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:172:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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
      |        ^~~~~~~~~~~~~~~~~~~~
RHGC_unordered_map.cpp: In function ‘Rcpp::NumericMatrix HierarCluster_paris(Eigen::SparseMatrix<double, 0, int>)’:
RHGC_unordered_map.cpp:35:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unordered_map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   35 |         for (int i = 0; i < G.adj.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~
RHGC_unordered_map.cpp:43:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unordered_map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   43 |             for (int i = 0; i < G.adj.size(); i++) {
      |                             ~~^~~~~~~~~~~~~~
RHGC_unordered_map.cpp:133:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  133 |         for (int i = 0; i < cc.size(); i++) {
      |                         ~~^~~~~~~~~~~
/opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include' -I/usr/local/include    -fPIC  -g -O2  -Wall -Werror=format-security -DR_NO_REMAP -c RTime.cpp -o RTime.o
In file included from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:214,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Dense:1,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigenForward.h:28,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigen.h:25,
                 from RTime.cpp:6:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:172:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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
      |        ^~~~~~~~~~~~~~~~~~~~
RTime.cpp: In function ‘Rcpp::NumericMatrix HierarCluster_paris_time(Eigen::SparseMatrix<double, 0, int>)’:
RTime.cpp:36:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unordered_map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   36 |     for (int i = 0; i < G.adj.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~
RTime.cpp:44:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unordered_map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   44 |       for (int i = 0; i < G.adj.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~
RTime.cpp:132:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  132 |   for(int i=0; i<chain_record.size(); i++){
      |                ~^~~~~~~~~~~~~~~~~~~~
RTime.cpp:135:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  135 |   for(int i=0; i<chain_record.size(); i++){
      |                ~^~~~~~~~~~~~~~~~~~~~
/opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include' -I/usr/local/include    -fPIC  -g -O2  -Wall -Werror=format-security -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
In file included from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:214,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Dense:1,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigenForward.h:28,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigen.h:25,
                 from RcppExports.cpp:4:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:172:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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
      |        ^~~~~~~~~~~~~~~~~~~~
/opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include' -I/usr/local/include    -fPIC  -g -O2  -Wall -Werror=format-security -DR_NO_REMAP -c Rget_leaves.cpp -o Rget_leaves.o
/opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG  -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include' -I/usr/local/include    -fPIC  -g -O2  -Wall -Werror=format-security -DR_NO_REMAP -c snn.cpp -o snn.o
In file included from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:214,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Dense:1,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigenForward.h:28,
                 from /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/RcppEigen/include/RcppEigen.h:25,
                 from snn.cpp:1:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/site-library/RcppEigen/include/Eigen/Core:172:
/home/biocbuild/R/R-4.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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.5.0-devel_2024-11-24/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
      |        ^~~~~~~~~~~~~~~~~~~~
snn.cpp: In function ‘std::vector<double> SNN_SmallestNonzero_Dist(Eigen::SparseMatrix<double, 0, int>, Eigen::MatrixXd, int, std::vector<double>)’:
snn.cpp:96:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   96 |     if (n_i > nonzero_order.size()) n_i = nonzero_order.size();
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~
snn.cpp:98:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   98 |     for (int j = 0; j < nonzero_order.size(); ++j) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~~~
snn.cpp:102:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  102 |       if(dists.size() < n_i  || nonzero[nonzero_order[j]] == nonzero[nonzero_order[n_i-1]]) {
      |          ~~~~~~~~~~~~~^~~~~
snn.cpp:114:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  114 |     if (dists.size() > n_i) {
      |         ~~~~~~~~~~~~~^~~~~
/opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -shared -L/home/biocbuild/R/R/lib -L/usr/local/lib -o HGC.so HGC_unordered_map.o RHGC_unordered_map.o RTime.o RcppExports.o Rget_leaves.o snn.o -L/home/biocbuild/R/R/lib -lR
installing to /home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/00LOCK-HGC/00new/HGC/libs
** R
** data
** 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 (HGC)

Tests output

HGC.Rcheck/tests/testthat.Rout


R Under development (unstable) (2024-11-24 r87369) -- "Unsuffered Consequences"
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(HGC)
> 
> test_check("HGC")
[ FAIL 0 | WARN 8 | SKIP 8 | PASS 62 ]

══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test_CKNN.R:8:5', 'test_Dendrogram.R:10:5', 'test_KNN.R:8:5',
  'test_MST.R:8:5', 'test_PMST.R:8:5', 'test_Parameter.R:10:5',
  'test_RNN.R:8:3', 'test_SNN.R:8:5'

[ FAIL 0 | WARN 8 | SKIP 8 | PASS 62 ]
> 
> proc.time()
   user  system elapsed 
 19.874   0.407  20.318 

Example timings

HGC.Rcheck/HGC-Ex.timings

nameusersystemelapsed
CKNNConstruction0.1200.0080.128
KNNConstruction0.0530.0000.053
MSTConstruction7.6320.0927.737
PMSTConstruction151.743 0.204152.284
RAPI_FindClusteringTree000
RHGC0.0240.0000.024
RHGCPlotARIs0.4250.0000.426
RHGCPlotDendrogram0.5620.0000.563
RHGCPlotParameter0.8220.0080.831
RNNConstruction0.0170.0000.017
RTime0.0190.0000.019
SNNConstruction0.0110.0000.011