Back to Mac ARM64 build report for BioC 3.17
ABCDEFGHIJKLMNOPQR[S]TUVWXYZ

This page was generated on 2023-10-20 09:38:12 -0400 (Fri, 20 Oct 2023).

HostnameOSArch (*)R versionInstalled pkgs
kjohnson2macOS 12.6.1 Montereyarm644.3.1 (2023-06-16) -- "Beagle Scouts" 4347
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 1965/2230HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
SparseArray 1.0.12  (landing page)
Hervé Pagès
Snapshot Date: 2023-10-15 14:00:07 -0400 (Sun, 15 Oct 2023)
git_url: https://git.bioconductor.org/packages/SparseArray
git_branch: RELEASE_3_17
git_last_commit: 90e0d62
git_last_commit_date: 2023-08-30 15:02:57 -0400 (Wed, 30 Aug 2023)
kjohnson2macOS 12.6.1 Monterey / arm64  OK    OK    ERROR    OK  

CHECK results for SparseArray on kjohnson2


To the developers/maintainers of the SparseArray package:
- 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.

raw results


Summary

Package: SparseArray
Version: 1.0.12
Command: /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:SparseArray.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings SparseArray_1.0.12.tar.gz
StartedAt: 2023-10-19 02:43:14 -0400 (Thu, 19 Oct 2023)
EndedAt: 2023-10-19 02:48:21 -0400 (Thu, 19 Oct 2023)
EllapsedTime: 307.8 seconds
RetCode: 1
Status:   ERROR  
CheckDir: SparseArray.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:SparseArray.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings SparseArray_1.0.12.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.17-bioc-mac-arm64/meat/SparseArray.Rcheck’
* using R version 4.3.1 (2023-06-16)
* using platform: aarch64-apple-darwin20 (64-bit)
* R was compiled by
    Apple clang version 14.0.0 (clang-1400.0.29.202)
    GNU Fortran (GCC) 12.2.0
* running under: macOS Monterey 12.6.7
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘SparseArray/DESCRIPTION’ ... OK
* this is package ‘SparseArray’ version ‘1.0.12’
* 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 ‘SparseArray’ can be installed ... OK
* used C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
* used SDK: ‘MacOSX11.3.sdk’
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R 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 startup messages can be suppressed ... 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 compiled code ... NOTE
Note: information on .o files is not available
File ‘SparseArray/libs/SparseArray.so’:
  Found non-API calls to R: ‘R_GetConnection’, ‘R_ReadConnection’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
* checking files in ‘vignettes’ ... OK
* checking examples ... ERROR
Running examples in ‘SparseArray-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SparseArray-summarization
> ### Title: SparseArray summarization methods
> ### Aliases: SparseArray-summarization SparseArray_summarization
> ###   anyNA,SparseArray-method range.COO_SparseArray
> ###   range,COO_SparseArray-method range.SVT_SparseArray
> ###   range,SVT_SparseArray-method mean,SparseArray-method
> ###   var,SparseArray,ANY-method sd,SparseArray-method
> ### Keywords: array methods algebra arith
> 
> ### ** Examples
> 
> m0 <- matrix(0L, nrow=6, ncol=4)
> m0[c(1:2, 8, 10, 15:17, 24)] <- (1:8)*10L
> m0[5, 2] <- NA
> svt0 <- as(m0, "SVT_SparseMatrix")
> svt0
<6 x 4 SVT_SparseMatrix> of type "integer" (nzcount=9):
     [,1] [,2] [,3] [,4]
[1,]   10    0    0    0
[2,]   20   30    0    0
[3,]    0    0   50    0
[4,]    0   40   60    0
[5,]    0   NA   70    0
[6,]    0    0    0   80
> 
> anyNA(svt0)
[1] TRUE
> 
> range(svt0)
[1] NA NA
> 
> range(svt0, na.rm=TRUE)
[1]  0 80
> 
> sum(svt0, na.rm=TRUE)
[1] 360
> 
> sd(svt0, na.rm=TRUE)
[1] 25.90649
> 
> ## Sanity checks:
> stopifnot(
+   identical(anyNA(svt0), anyNA(m0)),
+   identical(range(svt0), range(m0)),
+   identical(range(svt0, na.rm=TRUE), range(m0, na.rm=TRUE)),
+   identical(sum(svt0), sum(m0)),
+   identical(sum(svt0, na.rm=TRUE), sum(m0, na.rm=TRUE)),
+   identical(sd(svt0, na.rm=TRUE), sd(m0, na.rm=TRUE))
+ )
Error: identical(sd(svt0, na.rm = TRUE), sd(m0, na.rm = TRUE)) is not TRUE
Execution halted
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
      ▆
   1. └─SparseArray (local) .test_sym_crossprod_SparseMatrix(m0, svt0) at test-SparseMatrix-mult.R:56:4
   2.   └─testthat (local) EXPECT_FUN(cp, crossprod(svt, m)) at test-SparseMatrix-mult.R:36:4
  ── Failure ('test-SparseMatrix-mult.R:56:5'): crossprod()/tcrossprod() on input objects of type "double" ──
  `cp` not equal to crossprod(m, svt).
  1/9 mismatches
  [7] NaN - Inf == NaN
  Backtrace:
      ▆
   1. └─SparseArray (local) .test_sym_crossprod_SparseMatrix(m0, svt0) at test-SparseMatrix-mult.R:56:4
   2.   └─testthat (local) EXPECT_FUN(cp, crossprod(m, svt)) at test-SparseMatrix-mult.R:37:4
  
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 5796 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 2 ERRORs, 1 NOTE
See
  ‘/Users/biocbuild/bbs-3.17-bioc-mac-arm64/meat/SparseArray.Rcheck/00check.log’
for details.


Installation output

SparseArray.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL SparseArray
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library’
* installing *source* package ‘SparseArray’ ...
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ExtendableJaggedArray.c -o ExtendableJaggedArray.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c IRanges_stubs.c -o IRanges_stubs.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c R_init_SparseArray.c -o R_init_SparseArray.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rvector_summarization.c -o Rvector_summarization.o
Rvector_summarization.c:1262:12: warning: unused function 'any_NA_list_elt' [-Wunused-function]
static int any_NA_list_elt(SEXP x)
           ^
Rvector_summarization.c:1274:12: warning: unused function 'count_NA_list_elts' [-Wunused-function]
static int count_NA_list_elts(SEXP x)
           ^
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rvector_utils.c -o Rvector_utils.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c S4Vectors_stubs.c -o S4Vectors_stubs.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SBT_utils.c -o SBT_utils.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SVT_SparseArray_class.c -o SVT_SparseArray_class.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_Complex_methods.c -o SparseArray_Complex_methods.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_Math_methods.c -o SparseArray_Math_methods.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_Ops_methods.c -o SparseArray_Ops_methods.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_abind.c -o SparseArray_abind.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_aperm.c -o SparseArray_aperm.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_class.c -o SparseArray_class.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_dim_tuning.c -o SparseArray_dim_tuning.o
SparseArray_dim_tuning.c:260:40: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (SVT == R_NilValue || nops == ndim && cumallKEEP[ndim - 1])
                              ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
SparseArray_dim_tuning.c:260:40: note: place parentheses around the '&&' expression to silence this warning
        if (SVT == R_NilValue || nops == ndim && cumallKEEP[ndim - 1])
                                              ^
                                 (                                   )
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_subassignment.c -o SparseArray_subassignment.o
SparseArray_subassignment.c:235:19: warning: unused function 'descend_to_bottom_by_coords0' [-Wunused-function]
static inline int descend_to_bottom_by_coords0(SEXP SVT, SEXP SVT0,
                  ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_subsetting.c -o SparseArray_subsetting.o
SparseArray_subsetting.c:81:19: warning: unused function 'map_i2_to_k2_with_lookup_table' [-Wunused-function]
static inline int map_i2_to_k2_with_lookup_table(int i2,
                  ^
SparseArray_subsetting.c:88:19: warning: unused function 'map_i2_to_k2_with_bsearch' [-Wunused-function]
static inline int map_i2_to_k2_with_bsearch(int i2,
                  ^
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseArray_summarization.c -o SparseArray_summarization.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SparseMatrix_mult.c -o SparseMatrix_mult.o
SparseMatrix_mult.c:354:13: warning: unused function 'crossprod2_lv_mat_double' [-Wunused-function]
static void crossprod2_lv_mat_double(SEXP lv1, const double *mat2,
            ^
SparseMatrix_mult.c:392:13: warning: unused function 'crossprod2_mat_lv_double' [-Wunused-function]
static void crossprod2_mat_lv_double(const double *mat1, SEXP lv2,
            ^
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c XVector_stubs.c -o XVector_stubs.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c coerceVector2.c -o coerceVector2.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c leaf_vector_Arith.c -o leaf_vector_Arith.o
leaf_vector_Arith.c:164:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (x < 0 && y == R_PosInf || x == R_NegInf && y != trunc(y))
            ~~~~~~^~~~~~~~~~~~~~~~ ~~
leaf_vector_Arith.c:164:12: note: place parentheses around the '&&' expression to silence this warning
        if (x < 0 && y == R_PosInf || x == R_NegInf && y != trunc(y))
                  ^
            (                     )
leaf_vector_Arith.c:164:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (x < 0 && y == R_PosInf || x == R_NegInf && y != trunc(y))
                                   ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
leaf_vector_Arith.c:164:46: note: place parentheses around the '&&' expression to silence this warning
        if (x < 0 && y == R_PosInf || x == R_NegInf && y != trunc(y))
                                                    ^
                                      (                             )
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c leaf_vector_Compare.c -o leaf_vector_Compare.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c leaf_vector_Logic.c -o leaf_vector_Logic.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c leaf_vector_dotprod.c -o leaf_vector_dotprod.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c leaf_vector_summarization.c -o leaf_vector_summarization.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c leaf_vector_utils.c -o leaf_vector_utils.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c matrixStats_methods.c -o matrixStats_methods.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c randomSparseArray.c -o randomSparseArray.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c readSparseCSV.c -o readSparseCSV.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c rowsum_methods.c -o rowsum_methods.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c sparseMatrix_utils.c -o sparseMatrix_utils.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/S4Vectors/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/IRanges/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/XVector/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c test.c -o test.o
clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o SparseArray.so ExtendableJaggedArray.o IRanges_stubs.o R_init_SparseArray.o Rvector_summarization.o Rvector_utils.o S4Vectors_stubs.o SBT_utils.o SVT_SparseArray_class.o SparseArray_Complex_methods.o SparseArray_Math_methods.o SparseArray_Ops_methods.o SparseArray_abind.o SparseArray_aperm.o SparseArray_class.o SparseArray_dim_tuning.o SparseArray_subassignment.o SparseArray_subsetting.o SparseArray_summarization.o SparseMatrix_mult.o XVector_stubs.o coerceVector2.o leaf_vector_Arith.o leaf_vector_Compare.o leaf_vector_Logic.o leaf_vector_dotprod.o leaf_vector_summarization.o leaf_vector_utils.o matrixStats_methods.o randomSparseArray.o readSparseCSV.o rowsum_methods.o sparseMatrix_utils.o test.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/00LOCK-SparseArray/00new/SparseArray/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 (SparseArray)

Tests output

SparseArray.Rcheck/tests/testthat.Rout.fail


R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20 (64-bit)

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(SparseArray)
Loading required package: Matrix
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, setdiff, sort, table,
    tapply, union, unique, unsplit, which.max, which.min

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: S4Vectors
Loading required package: stats4

Attaching package: 'S4Vectors'

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

    expand, unname

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

    findMatches

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

    I, expand.grid, unname

Loading required package: S4Arrays
Loading required package: abind
Loading required package: IRanges

Attaching package: 'S4Arrays'

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

    abind

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

    rowsum

> 
> test_check("SparseArray")
[ FAIL 2 | WARN 1 | SKIP 0 | PASS 5796 ]

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-SparseMatrix-mult.R:56:5'): crossprod()/tcrossprod() on input objects of type "double" ──
`cp` not equal to crossprod(svt, m).
1/9 mismatches
[3] NaN - Inf == NaN
Backtrace:
    ▆
 1. └─SparseArray (local) .test_sym_crossprod_SparseMatrix(m0, svt0) at test-SparseMatrix-mult.R:56:4
 2.   └─testthat (local) EXPECT_FUN(cp, crossprod(svt, m)) at test-SparseMatrix-mult.R:36:4
── Failure ('test-SparseMatrix-mult.R:56:5'): crossprod()/tcrossprod() on input objects of type "double" ──
`cp` not equal to crossprod(m, svt).
1/9 mismatches
[7] NaN - Inf == NaN
Backtrace:
    ▆
 1. └─SparseArray (local) .test_sym_crossprod_SparseMatrix(m0, svt0) at test-SparseMatrix-mult.R:56:4
 2.   └─testthat (local) EXPECT_FUN(cp, crossprod(m, svt)) at test-SparseMatrix-mult.R:37:4

[ FAIL 2 | WARN 1 | SKIP 0 | PASS 5796 ]
Error: Test failures
Execution halted

Example timings

SparseArray.Rcheck/SparseArray-Ex.timings

nameusersystemelapsed
COO_SparseArray-class0.7120.0231.301
SVT_SparseArray-class10.416 0.91920.240
SparseArray-Complex-methods000
SparseArray-Math-methods0.0080.0030.023
SparseArray-Ops-methods0.0090.0020.016
SparseArray-abind0.1070.0080.205
SparseArray-aperm000
SparseArray-class1.0780.1472.206
SparseArray-dim-tuning0.0060.0010.015
SparseArray-misc-methods000
SparseArray-subassignment0.0500.0020.094
SparseArray-subsetting0.1970.0090.369