Back to Build/check report for BioC 3.17
ABCDEFGHIJKLMNOPQR[S]TUVWXYZ

This page was generated on 2023-01-02 09:00:52 -0500 (Mon, 02 Jan 2023).

HostnameOSArch (*)R versionInstalled pkgs
palomino5Windows Server 2022 Datacenterx64R Under development (unstable) (2022-12-25 r83502 ucrt) -- "Unsuffered Consequences" 4165
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

CHECK results for sparseMatrixStats on palomino5


To the developers/maintainers of the sparseMatrixStats package:
Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 1901/2158HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
sparseMatrixStats 1.11.0  (landing page)
Constantin Ahlmann-Eltze
Snapshot Date: 2022-12-28 11:00:06 -0500 (Wed, 28 Dec 2022)
git_url: https://git.bioconductor.org/packages/sparseMatrixStats
git_branch: master
git_last_commit: 7d5c090
git_last_commit_date: 2022-11-01 11:21:44 -0500 (Tue, 01 Nov 2022)
palomino5Windows Server 2022 Datacenter / x64  OK    OK    ERROR    OK  

Summary

Package: sparseMatrixStats
Version: 1.11.0
Command: F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:sparseMatrixStats.install-out.txt --library=F:\biocbuild\bbs-3.17-bioc\R\library --no-vignettes --timings sparseMatrixStats_1.11.0.tar.gz
StartedAt: 2022-12-29 03:45:16 -0500 (Thu, 29 Dec 2022)
EndedAt: 2022-12-29 03:46:24 -0500 (Thu, 29 Dec 2022)
EllapsedTime: 68.3 seconds
RetCode: 1
Status:   ERROR  
CheckDir: sparseMatrixStats.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:sparseMatrixStats.install-out.txt --library=F:\biocbuild\bbs-3.17-bioc\R\library --no-vignettes --timings sparseMatrixStats_1.11.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'F:/biocbuild/bbs-3.17-bioc-rtools43/meat/sparseMatrixStats.Rcheck'
* using R Under development (unstable) (2022-12-25 r83502 ucrt)
* using platform: x86_64-w64-mingw32 (64-bit)
* R was compiled by
    gcc.exe (GCC) 10.4.0
    GNU Fortran (GCC) 10.4.0
* running under: Windows Server x64 (build 20348)
* using session charset: UTF-8
* using option '--no-vignettes'
* checking for file 'sparseMatrixStats/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'sparseMatrixStats' version '1.11.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 whether package 'sparseMatrixStats' can be installed ... OK
* used C++ compiler: 'G__~1.EXE (GCC) 12.2.0'
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking 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 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 for x64 is not available
File 'F:/biocbuild/bbs-3.17-bioc/R/library/sparseMatrixStats/libs/x64/sparseMatrixStats.dll':
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs nor [v]sprintf. The detected symbols are linked into
the code but might come from libraries and not actually be called.

See 'Writing portable packages' in the 'Writing R Extensions' manual.
* checking files in 'vignettes' ... OK
* checking examples ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
  Running 'testthat.R'
 ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
    1. ├─testthat::expect_equal(...) at test-logicals.R:88:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─MatrixGenerics::colQuantiles(sp_mat, type = 1)
    5. ├─sparseMatrixStats::colQuantiles(sp_mat, type = 1)
    6. │ └─sparseMatrixStats (local) .local(x, rows, cols, probs, na.rm, type, ..., useNames, drop)
    7. │   ├─base::t(...)
    8. │   └─sparseMatrixStats:::expand_and_reduce_sparse_matrix_to_matrix(...)
    9. │     └─base::vapply(...)
   10. └─base::.handleSimpleError(...)
   11.   └─base (local) h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 1 | SKIP 21 | PASS 1753 ]
  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: 1 ERROR, 1 NOTE
See
  'F:/biocbuild/bbs-3.17-bioc-rtools43/meat/sparseMatrixStats.Rcheck/00check.log'
for details.


Installation output

sparseMatrixStats.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD INSTALL sparseMatrixStats
###
##############################################################################
##############################################################################


* installing to library 'F:/biocbuild/bbs-3.17-bioc/R/library'
* installing *source* package 'sparseMatrixStats' ...
** using staged installation
** libs
using C++ compiler: 'G__~1.EXE (GCC) 12.2.0'
using C++11
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c SparseMatrixView.cpp -o SparseMatrixView.o
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c methods.cpp -o methods.o
In file included from methods.cpp:6:
quantile.h: In instantiation of 'double quantile_sparse_impl(T, int, double) [with T = VectorSubsetView<14>]':
quantile.h:85:58:   required from here
quantile.h:35:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   35 |   for(int i = 0; i < sorted_values.size() + number_of_zeros; i++){
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
methods.cpp: In instantiation of 'double colOrderStats::operator()(V&, R&, int) const [with V = SkipNAVectorSubsetView<14>; R = SkipNAVectorSubsetView<13>]':
methods.cpp:25:18:   required from 'Rcpp::NumericVector reduce_matrix_double(Rcpp::S4, bool, Functor) [with Functor = colOrderStats; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>; Rcpp::S4 = Rcpp::S4_Impl<Rcpp::PreserveStorage>]'
methods.cpp:510:30:   required from here
methods.cpp:475:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  475 |     for(int i = 0; i < sorted_values.size() + number_of_zeros; i++){
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
methods.cpp: In instantiation of 'double colOrderStats::operator()(V&, R&, int) const [with V = VectorSubsetView<14>; R = VectorSubsetView<13>]':
methods.cpp:30:18:   required from 'Rcpp::NumericVector reduce_matrix_double(Rcpp::S4, bool, Functor) [with Functor = colOrderStats; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>; Rcpp::S4 = Rcpp::S4_Impl<Rcpp::PreserveStorage>]'
methods.cpp:510:30:   required from here
methods.cpp:475:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
quantile.h: In instantiation of 'double quantile_sparse_impl(T, int, double) [with T = SkipNAVectorSubsetView<14>]':
methods.cpp:269:32:   required from 'double colMedians::operator()(V&, R&, int) const [with V = SkipNAVectorSubsetView<14>; R = SkipNAVectorSubsetView<13>]'
methods.cpp:25:18:   required from 'Rcpp::NumericVector reduce_matrix_double(Rcpp::S4, bool, Functor) [with Functor = colMedians; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>; Rcpp::S4 = Rcpp::S4_Impl<Rcpp::PreserveStorage>]'
methods.cpp:277:30:   required from here
quantile.h:35:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   35 |   for(int i = 0; i < sorted_values.size() + number_of_zeros; i++){
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c row_methods.cpp -o row_methods.o
g++ -shared -s -static-libgcc -o sparseMatrixStats.dll tmp.def RcppExports.o SparseMatrixView.o methods.o row_methods.o -Lc:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -Lc:/rtools42/x86_64-w64-mingw32.static.posix/lib -LF:/biocbuild/bbs-3.17-bioc/R/bin/x64 -lR
installing to F:/biocbuild/bbs-3.17-bioc/R/library/00LOCK-sparseMatrixStats/00new/sparseMatrixStats/libs/x64
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (sparseMatrixStats)

Tests output

sparseMatrixStats.Rcheck/tests/testthat.Rout.fail


R Under development (unstable) (2022-12-25 r83502 ucrt) -- "Unsuffered Consequences"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (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(sparseMatrixStats)
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

> 
> test_check("sparseMatrixStats")
[ FAIL 1 | WARN 1 | SKIP 21 | PASS 1753 ]

══ Skipped tests ═══════════════════════════════════════════════════════════════
• different result than matrixStats version, because sparseMatrixStats uses `interpolate=FALSE`. (10)
• matrixStats doesn't convert values to logical if mat is logical?! (1)
• matrixStats::xxxOrderStats() does not support missing values (10)

══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-logicals.R:88'): colQuantiles works ────────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 't': values must be type 'logical',
 but FUN(X[[1]]) result is type 'double'
Backtrace:
     ▆
  1. ├─testthat::expect_equal(...) at test-logicals.R:88:2
  2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
  3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
  4. ├─MatrixGenerics::colQuantiles(sp_mat, type = 1)
  5. ├─sparseMatrixStats::colQuantiles(sp_mat, type = 1)
  6. │ └─sparseMatrixStats (local) .local(x, rows, cols, probs, na.rm, type, ..., useNames, drop)
  7. │   ├─base::t(...)
  8. │   └─sparseMatrixStats:::expand_and_reduce_sparse_matrix_to_matrix(...)
  9. │     └─base::vapply(...)
 10. └─base::.handleSimpleError(...)
 11.   └─base (local) h(simpleError(msg, call))

[ FAIL 1 | WARN 1 | SKIP 21 | PASS 1753 ]
Error: Test failures
Execution halted

Example timings

sparseMatrixStats.Rcheck/sparseMatrixStats-Ex.timings

nameusersystemelapsed
colAlls-xgCMatrix-method0.000.020.02
colAnyNAs-xgCMatrix-method000
colAnys-xgCMatrix-method000
colAvgsPerRowSet-xgCMatrix-method000
colCollapse-xgCMatrix-method000
colCounts-xgCMatrix-method000
colCummaxs-dgCMatrix-method000
colCummins-dgCMatrix-method000
colCumprods-xgCMatrix-method000
colCumsums-xgCMatrix-method000
colDiffs-dgCMatrix-method000
colIQRDiffs-dgCMatrix-method0.020.000.02
colIQRs-xgCMatrix-method000
colLogSumExps-xgCMatrix-method000
colMadDiffs-dgCMatrix-method000
colMads-dgCMatrix-method000
colMaxs-dgCMatrix-method000
colMeans2-xgCMatrix-method000
colMedians-dgCMatrix-method000
colMins-dgCMatrix-method000
colOrderStats-dgCMatrix-method000
colProds-xgCMatrix-method000
colQuantiles-xgCMatrix-method000
colRanges-dgCMatrix-method000
colRanks-dgCMatrix-method000
colSdDiffs-dgCMatrix-method0.010.000.02
colSds-xgCMatrix-method000
colSums2-xgCMatrix-method000
colTabulates-xgCMatrix-method000
colVarDiffs-dgCMatrix-method000
colVars-xgCMatrix-method000
colWeightedMads-dgCMatrix-method000
colWeightedMeans-xgCMatrix-method000
colWeightedMedians-dgCMatrix-method0.020.000.01
colWeightedSds-xgCMatrix-method000
colWeightedVars-xgCMatrix-method000