Back to Multiple platform build/check report for BioC 3.20:   simplified   long
ABCDEFGHIJKLMNOPQR[S]TUVWXYZ

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

HostnameOSArch (*)R versionInstalled pkgs
teran2Linux (Ubuntu 24.04.1 LTS)x86_644.4.2 (2024-10-31) -- "Pile of Leaves" 4481
nebbiolo2Linux (Ubuntu 24.04.1 LTS)x86_644.4.2 (2024-10-31) -- "Pile of Leaves" 4479
palomino8Windows Server 2022 Datacenterx644.4.2 (2024-10-31 ucrt) -- "Pile of Leaves" 4359
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 1912/2289HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
scuttle 1.16.0  (landing page)
Aaron Lun
Snapshot Date: 2024-11-19 13:40 -0500 (Tue, 19 Nov 2024)
git_url: https://git.bioconductor.org/packages/scuttle
git_branch: RELEASE_3_20
git_last_commit: ca4d5bd
git_last_commit_date: 2024-10-29 10:47:24 -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    OK  


CHECK results for scuttle on kunpeng2

To the developers/maintainers of the scuttle package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/scuttle.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: scuttle
Version: 1.16.0
Command: /home/biocbuild/R/R/bin/R CMD check --install=check:scuttle.install-out.txt --library=/home/biocbuild/R/R/site-library --no-vignettes --timings scuttle_1.16.0.tar.gz
StartedAt: 2024-11-20 12:19:11 -0000 (Wed, 20 Nov 2024)
EndedAt: 2024-11-20 12:26:33 -0000 (Wed, 20 Nov 2024)
EllapsedTime: 441.8 seconds
RetCode: 0
Status:   OK  
CheckDir: scuttle.Rcheck
Warnings: 0

Command output

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


* using log directory ‘/home/biocbuild/bbs-3.20-bioc/meat/scuttle.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 ‘scuttle/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘scuttle’ version ‘1.16.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 ‘scuttle’ can be installed ... OK
* used C++ compiler: ‘g++ (conda-forge gcc 14.2.0-1) 14.2.0’
* checking C++ specification ... NOTE
  Specified C++11: please drop specification unless essential
* checking installed package size ... NOTE
  installed size is  8.8Mb
  sub-directories of 1Mb or more:
    libs   8.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 ... 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 ... 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 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
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                       user system elapsed
computePooledFactors 10.166  0.124  10.084
* 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: 3 NOTEs
See
  ‘/home/biocbuild/bbs-3.20-bioc/meat/scuttle.Rcheck/00check.log’
for details.


Installation output

scuttle.Rcheck/00install.out

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


* installing to library ‘/home/biocbuild/R/R-4.4.1/site-library’
* installing *source* package ‘scuttle’ ...
** using staged installation
** libs
using C++ compiler: ‘g++ (conda-forge gcc 14.2.0-1) 14.2.0’
using C++11
g++ -std=gnu++11 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG -I../inst/include/ -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/beachmat/include' -I/usr/local/include    -fPIC  -g -O2  -Wall  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG -I../inst/include/ -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/beachmat/include' -I/usr/local/include    -fPIC  -g -O2  -Wall  -c cumulative_prop.cpp -o cumulative_prop.o
In file included from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:12,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:11,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/beachmat.h:24,
                 from cumulative_prop.cpp:2:
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:36:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   36 |             return std::unique_ptr<M>(new integer_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:38:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   38 |             return std::unique_ptr<M>(new double_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:40:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   40 |             return std::unique_ptr<M>(new logical_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG -I../inst/include/ -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/beachmat/include' -I/usr/local/include    -fPIC  -g -O2  -Wall  -c downsample_counts.cpp -o downsample_counts.o
In file included from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:12,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:11,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/beachmat.h:24,
                 from downsample_counts.cpp:2:
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:36:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   36 |             return std::unique_ptr<M>(new integer_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:38:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   38 |             return std::unique_ptr<M>(new double_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:40:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   40 |             return std::unique_ptr<M>(new logical_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG -I../inst/include/ -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/beachmat/include' -I/usr/local/include    -fPIC  -g -O2  -Wall  -c fit_linear_model.cpp -o fit_linear_model.o
In file included from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:12,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:11,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/beachmat.h:24,
                 from fit_linear_model.cpp:2:
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:36:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   36 |             return std::unique_ptr<M>(new integer_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:38:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   38 |             return std::unique_ptr<M>(new double_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:40:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   40 |             return std::unique_ptr<M>(new logical_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG -I../inst/include/ -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/beachmat/include' -I/usr/local/include    -fPIC  -g -O2  -Wall  -c pool_size_factors.cpp -o pool_size_factors.o
pool_size_factors.cpp: In function 'Rcpp::List pool_size_factors(Rcpp::RObject, Rcpp::NumericVector, Rcpp::IntegerVector, Rcpp::IntegerVector)':
pool_size_factors.cpp:56:15: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
   56 |     if (ngenes!=pseudo_cell.size()) {
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~
pool_size_factors.cpp:61:22: warning: comparison of integer expressions of different signedness: 'R_xlen_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
   61 |     if (order.size() < ncells*2-1)  {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~
pool_size_factors.cpp:170:37: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  170 |                     for (auto i=0; i<n; ++i, ++val, ++rows) {
      |                                    ~^~
In file included from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:12,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:11,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/beachmat.h:24,
                 from pool_size_factors.cpp:2:
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:36:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   36 |             return std::unique_ptr<M>(new integer_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:38:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   38 |             return std::unique_ptr<M>(new double_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:40:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   40 |             return std::unique_ptr<M>(new logical_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG -I../inst/include/ -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/beachmat/include' -I/usr/local/include    -fPIC  -g -O2  -Wall  -c sparse_summarize.cpp -o sparse_summarize.o
g++ -std=gnu++11 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG -I../inst/include/ -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/beachmat/include' -I/usr/local/include    -fPIC  -g -O2  -Wall  -c sum_counts.cpp -o sum_counts.o
In file included from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:12,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:11,
                 from /home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/beachmat.h:24,
                 from sum_counts.cpp:2:
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:36:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   36 |             return std::unique_ptr<M>(new integer_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:38:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   38 |             return std::unique_ptr<M>(new double_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46:   required from 'beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
  561 |     lin_SparseArraySeed(Rcpp::RObject mat) : reader(mat) {
      |                                              ^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:40:39:   required from 'std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]'
   40 |             return std::unique_ptr<M>(new logical_SparseArraySeed(block));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57:   required from here
   65 |         auto ptr = read_lin_sparse_block_raw<lin_matrix>(block);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  535 |         if (nnz != x.size()) {
      |             ~~~~^~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                       ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  551 |                     if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
      |                                                                   ~~~~~~^~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
  593 |                 for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
      |                                 ~~^~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51:   required from 'beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  596 |         return reader.template get_row<const int*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35:   required from here
  595 |     sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) {
      |                                   ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of 'beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]':
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42:   required from 'beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  650 |         return core.template get_row<OUT>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54:   required from 'beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]'
  602 |         return reader.template get_row<const double*>(r, work_x, work_i, first, last);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38:   required from here
  601 |     sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) {
      |                                      ^~~~~~~
/home/biocbuild/R/R-4.4.1/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: 'const int' and 'const long unsigned int' [-Wsign-compare]
  250 |             if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
      |                 ~~~~~^~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/R/R-4.4.1/include" -DNDEBUG -I../inst/include/ -I'/home/biocbuild/R/R-4.4.1/site-library/Rcpp/include' -I'/home/biocbuild/R/R-4.4.1/site-library/beachmat/include' -I/usr/local/include    -fPIC  -g -O2  -Wall  -c utils.cpp -o utils.o
g++ -std=gnu++11 -shared -L/home/biocbuild/R/R-4.4.1/lib -L/usr/local/lib -o scuttle.so RcppExports.o cumulative_prop.o downsample_counts.o fit_linear_model.o pool_size_factors.o sparse_summarize.o sum_counts.o utils.o -lopenblas -L/usr/lib/gcc/aarch64-linux-gnu/10.3.1 -lgfortran -lm -L/home/biocbuild/R/R-4.4.1/lib -lR
installing to /home/biocbuild/R/R-4.4.1/site-library/00LOCK-scuttle/00new/scuttle/libs
** R
** 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 (scuttle)

Tests output

scuttle.Rcheck/tests/testthat.Rout


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(scuttle)
Loading required package: SingleCellExperiment
Loading required package: SummarizedExperiment
Loading required package: MatrixGenerics
Loading required package: matrixStats

Attaching package: 'MatrixGenerics'

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

    colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
    colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
    colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
    colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
    colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
    colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
    colWeightedMeans, colWeightedMedians, colWeightedSds,
    colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
    rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
    rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
    rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
    rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
    rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
    rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
    rowWeightedSds, rowWeightedVars

Loading required package: GenomicRanges
Loading required package: stats4
Loading required package: BiocGenerics

Attaching package: 'BiocGenerics'

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

    IQR, mad, sd, var, xtabs

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

    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, saveRDS, setdiff, table,
    tapply, union, unique, unsplit, which.max, which.min

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

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

    findMatches

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

    I, expand.grid, unname

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.


Attaching package: 'Biobase'

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

    rowMedians

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

    anyMissing, rowMedians

> test_check("scuttle")
Loading required package: Matrix

Attaching package: 'Matrix'

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

    expand

Loading required package: S4Arrays
Loading required package: abind

Attaching package: 'S4Arrays'

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

    abind

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

    rowsum

Loading required package: SparseArray

Attaching package: 'DelayedArray'

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

    apply, scale, sweep

[ FAIL 0 | WARN 13 | SKIP 0 | PASS 1707 ]

[ FAIL 0 | WARN 13 | SKIP 0 | PASS 1707 ]
> 
> proc.time()
   user  system elapsed 
152.992   6.486 187.785 

Example timings

scuttle.Rcheck/scuttle-Ex.timings

nameusersystemelapsed
addPerCellQCMetrics1.1310.0401.174
aggregateAcrossCells2.2830.0752.364
aggregateAcrossFeatures0.4320.0000.433
calculateAverage0.3570.0120.370
calculateCPM0.4230.0000.424
calculateFPKM0.3290.0080.337
calculateTPM0.3250.0040.330
cleanSizeFactors0.0270.0000.027
computePooledFactors10.166 0.12410.084
computeSpikeFactors0.3870.0000.388
correctGroupSummary0.0710.0000.071
downsampleBatches4.8420.0284.876
downsampleMatrix2.9150.0042.920
fitLinearModel0.0950.0000.095
geometricSizeFactors0.3340.0080.343
isOutlier0.6290.0120.642
librarySizeFactors0.2990.0040.302
logNormCounts1.1040.0721.178
makePerCellDF0.5970.0040.602
makePerFeatureDF0.4430.0120.456
medianSizeFactors0.3280.0000.328
mockSCE0.3490.0000.349
normalizeCounts1.3560.0201.377
numDetectedAcrossCells0.3670.0120.379
numDetectedAcrossFeatures0.3020.0040.307
perCellQCFilters0.6660.0000.667
perCellQCMetrics1.3940.0041.401
perFeatureQCMetrics0.4620.0200.483
quickPerCellQC1.0750.0041.081
readSparseCounts0.0080.0000.007
sumCountsAcrossCells0.4330.0000.434
sumCountsAcrossFeatures0.3150.0000.316
summarizeAssayByGroup0.4860.0000.487
uniquifyDataFrameByGroup0.0360.0000.036
uniquifyFeatureNames0.0000.0000.001