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

This page was generated on 2023-01-02 09:00:50 -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 scPipe on palomino5


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

raw results

Package 1795/2158HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
scPipe 1.21.1  (landing page)
Luyi Tian
Snapshot Date: 2022-12-28 11:00:06 -0500 (Wed, 28 Dec 2022)
git_url: https://git.bioconductor.org/packages/scPipe
git_branch: master
git_last_commit: 51fb1de
git_last_commit_date: 2022-11-10 02:03:29 -0500 (Thu, 10 Nov 2022)
palomino5Windows Server 2022 Datacenter / x64  OK    OK    OK    OK  

Summary

Package: scPipe
Version: 1.21.1
Command: F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:scPipe.install-out.txt --library=F:\biocbuild\bbs-3.17-bioc\R\library --no-vignettes --timings scPipe_1.21.1.tar.gz
StartedAt: 2022-12-29 03:21:34 -0500 (Thu, 29 Dec 2022)
EndedAt: 2022-12-29 03:25:58 -0500 (Thu, 29 Dec 2022)
EllapsedTime: 264.4 seconds
RetCode: 0
Status:   OK  
CheckDir: scPipe.Rcheck
Warnings: 0

Command output

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


* using log directory 'F:/biocbuild/bbs-3.17-bioc-rtools43/meat/scPipe.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 'scPipe/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'scPipe' version '1.21.1'
* 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 'scPipe' can be installed ... OK
* used C++ compiler: 'G__~1.EXE (GCC) 12.2.0'
* checking installed package size ... NOTE
  installed size is 11.2Mb
  sub-directories of 1Mb or more:
    libs   9.8Mb
* 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 ... NOTE
Namespace in Imports field not imported from: 'scater'
  All declared Imports should be used.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
anno_to_saf: no visible binding for global variable 'GeneID'
convert_geneid: no visible global function definition for 'useMart'
get_genes_by_GO: no visible global function definition for 'useMart'
infer_gene_id_from_parent: no visible binding for global variable
  'type'
plot_demultiplex: no visible binding for global variable 'status'
plot_demultiplex: no visible binding for global variable 'count'
plot_demultiplex: no visible binding for global variable 'label_y'
plot_demultiplex: no visible binding for global variable 'label_tx'
Undefined global functions or variables:
  GeneID count label_tx label_y status type useMart
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of 'data' directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... NOTE
GNU make is a SystemRequirements.
* 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 for x64 is not available
File 'F:/biocbuild/bbs-3.17-bioc/R/library/scPipe/libs/x64/scPipe.dll':
  Found '_assert', possibly from 'assert' (C)
  Found '_exit', possibly from '_exit' (C)
  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
Examples with CPU (user + system) or elapsed time > 5s
              user system elapsed
plot_QC_pairs 4.87   0.14    5.08
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
  Running 'testthat.R'
 OK
* 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: 5 NOTEs
See
  'F:/biocbuild/bbs-3.17-bioc-rtools43/meat/scPipe.Rcheck/00check.log'
for details.



Installation output

scPipe.Rcheck/00install.out

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


* installing to library 'F:/biocbuild/bbs-3.17-bioc/R/library'
* installing *source* package 'scPipe' ...
** 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/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Gene.cpp -o Gene.o
Gene.cpp: In member function 'void Gene::flatten_exon()':
Gene.cpp:105:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Interval>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  105 |     for (auto i = 1; i < exon_vec.size(); i++)
      |                      ~~^~~~~~~~~~~~~~~~~
Gene.cpp: In function 'std::ostream& operator<<(std::ostream&, const Gene&)':
Gene.cpp:130:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Interval>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  130 |     for (int i = 0; i < obj.exon_vec.size(); ++i)
      |                     ~~^~~~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Interval.cpp -o Interval.o
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/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/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cellbarcode.cpp -o cellbarcode.o
cellbarcode.cpp: In member function 'std::string Barcode::get_closest_match(const std::string&, int)':
cellbarcode.cpp:77:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   77 |     for (int i = 0; i < barcode_list.size(); i++)
      |                     ~~^~~~~~~~~~~~~~~~~~~~~
cellbarcode.cpp:82:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   82 |     for (int i = 0; i < hamming_dists.size(); i++)
      |                     ~~^~~~~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c detect_barcode.cpp -o detect_barcode.o
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c parsebam.cpp -o parsebam.o
parsebam.cpp: In member function 'int Bamdemultiplex::clean_bam_barcode(std::string, std::string, int, int)':
parsebam.cpp:78:9: warning: variable 'hts_retcode' set but not used [-Wunused-but-set-variable]
   78 |     int hts_retcode;
      |         ^~~~~~~~~~~
parsebam.cpp:116:9: warning: unused variable 'map_status' [-Wunused-variable]
  116 |     int map_status;
      |         ^~~~~~~~~~
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c parsecount.cpp -o parsecount.o
parsecount.cpp: In function 'void write_stat(std::string, std::string, std::vector<int>, std::unordered_map<std::__cxx11::basic_string<char>, UMI_dedup_stat>)':
parsecount.cpp:266:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  266 |     for (int i=0; i<UMI_dup_count.size(); i++)
      |                   ~^~~~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rcpp_scPipe_func.cpp -o rcpp_scPipe_func.o
In file included from rcpp_scPipe_func.cpp:7:
transcriptmapping.h: In member function 'void GeneBin::add_gene(Gene)':
transcriptmapping.h:42:21: warning: comparison of integer expressions of different signedness: 'int' and 'GeneBin::ull_int' {aka 'long long unsigned int'} [-Wsign-compare]
   42 |         if (gene.st < start)
      |             ~~~~~~~~^~~~~~~
transcriptmapping.h:46:21: warning: comparison of integer expressions of different signedness: 'int' and 'GeneBin::ull_int' {aka 'long long unsigned int'} [-Wsign-compare]
   46 |         if (gene.en > end)
      |             ~~~~~~~~^~~~~
transcriptmapping.h: In member function 'const bool GeneBin::overlaps(const Interval&)':
transcriptmapping.h:54:24: warning: comparison of integer expressions of different signedness: 'GeneBin::ull_int' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
   54 |         return !(start > it.en) && !(end < it.st);
      |                  ~~~~~~^~~~~~~
transcriptmapping.h:54:42: warning: comparison of integer expressions of different signedness: 'GeneBin::ull_int' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
   54 |         return !(start > it.en) && !(end < it.st);
      |                                      ~~~~^~~~~~~
In file included from config_hts.h:8,
                 from trimbarcode.h:6,
                 from rcpp_scPipe_func.cpp:3:
trimbarcode.h: At global scope:
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:185:19: warning: 'int kseq_read(kseq_t*)' defined but not used [-Wunused-function]
  185 |         SCOPE int kseq_read(kseq_t *seq) \
      |                   ^~~~~~~~~
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:185:19: note: in definition of macro '__KSEQ_READ'
  185 |         SCOPE int kseq_read(kseq_t *seq) \
      |                   ^~~~~~~~~
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:240:35: note: in expansion of macro 'KSEQ_INIT2'
  240 | #define KSEQ_INIT(type_t, __read) KSEQ_INIT2(static, type_t, __read)
      |                                   ^~~~~~~~~~
trimbarcode.h:11:1: note: in expansion of macro 'KSEQ_INIT'
   11 | KSEQ_INIT(gzFile, gzread)
      | ^~~~~~~~~
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:171:20: warning: 'void kseq_destroy(kseq_t*)' defined but not used [-Wunused-function]
  171 |         SCOPE void kseq_destroy(kseq_t *ks)                                                                     \
      |                    ^~~~~~~~~~~~
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:171:20: note: in definition of macro '__KSEQ_BASIC'
  171 |         SCOPE void kseq_destroy(kseq_t *ks)                                                                     \
      |                    ^~~~~~~~~~~~
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:240:35: note: in expansion of macro 'KSEQ_INIT2'
  240 | #define KSEQ_INIT(type_t, __read) KSEQ_INIT2(static, type_t, __read)
      |                                   ^~~~~~~~~~
trimbarcode.h:11:1: note: in expansion of macro 'KSEQ_INIT'
   11 | KSEQ_INIT(gzFile, gzread)
      | ^~~~~~~~~
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:165:23: warning: 'kseq_t* kseq_init(bioc_gzFile)' defined but not used [-Wunused-function]
  165 |         SCOPE kseq_t *kseq_init(type_t fd)                                                                      \
      |                       ^~~~~~~~~
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:165:23: note: in definition of macro '__KSEQ_BASIC'
  165 |         SCOPE kseq_t *kseq_init(type_t fd)                                                                      \
      |                       ^~~~~~~~~
F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include/htslib/kseq.h:240:35: note: in expansion of macro 'KSEQ_INIT2'
  240 | #define KSEQ_INIT(type_t, __read) KSEQ_INIT2(static, type_t, __read)
      |                                   ^~~~~~~~~~
trimbarcode.h:11:1: note: in expansion of macro 'KSEQ_INIT'
   11 | KSEQ_INIT(gzFile, gzread)
      | ^~~~~~~~~
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c test-cpp.cpp -o test-cpp.o
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c test-runner.cpp -o test-runner.o
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c transcriptmapping.cpp -o transcriptmapping.o
In file included from transcriptmapping.cpp:2:
transcriptmapping.h: In member function 'void GeneBin::add_gene(Gene)':
transcriptmapping.h:42:21: warning: comparison of integer expressions of different signedness: 'int' and 'GeneBin::ull_int' {aka 'long long unsigned int'} [-Wsign-compare]
   42 |         if (gene.st < start)
      |             ~~~~~~~~^~~~~~~
transcriptmapping.h:46:21: warning: comparison of integer expressions of different signedness: 'int' and 'GeneBin::ull_int' {aka 'long long unsigned int'} [-Wsign-compare]
   46 |         if (gene.en > end)
      |             ~~~~~~~~^~~~~
transcriptmapping.h: In member function 'const bool GeneBin::overlaps(const Interval&)':
transcriptmapping.h:54:24: warning: comparison of integer expressions of different signedness: 'GeneBin::ull_int' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
   54 |         return !(start > it.en) && !(end < it.st);
      |                  ~~~~~~^~~~~~~
transcriptmapping.h:54:42: warning: comparison of integer expressions of different signedness: 'GeneBin::ull_int' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
   54 |         return !(start > it.en) && !(end < it.st);
      |                                      ~~~~^~~~~~~
transcriptmapping.cpp: In member function 'int Mapping::map_exon(bam_hdr_t*, bam1_t*, std::string&, bool)':
transcriptmapping.cpp:533:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  533 |     for (int c=0; c<b->core.n_cigar; c++)
      |                   ~^~~~~~~~~~~~~~~~
transcriptmapping.cpp: In member function 'void Mapping::parse_align_warpper(std::vector<std::__cxx11::basic_string<char> >, std::vector<std::__cxx11::basic_string<char> >, std::string, bool, std::string, std::string, std::string, std::string, int, int, int)':
transcriptmapping.cpp:678:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  678 |       for (int i=1;i<fn_vec.size();i++)
      |                    ~^~~~~~~~~~~~~~
transcriptmapping.cpp:686:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  686 |       for (int i=1;i<fn_vec.size();i++)
      |                    ~^~~~~~~~~~~~~~
transcriptmapping.cpp: In function 'std::pair<int, int> {anonymous}::get_bc_umi_lengths(std::string)':
transcriptmapping.cpp:701:20: warning: unused variable 'bam_hdr' [-Wunused-variable]
  701 |         bam_hdr_t *bam_hdr = bam_hdr_read(fp);
      |                    ^~~~~~~
transcriptmapping.cpp: In member function 'void Mapping::parse_align(std::string, std::string, bool, std::string, std::string, std::string, std::string, int, std::string, std::string, int, int)':
transcriptmapping.cpp:755:9: warning: variable 'hts_retcode' set but not used [-Wunused-but-set-variable]
  755 |     int hts_retcode;
      |         ^~~~~~~~~~~
transcriptmapping.cpp: At global scope:
transcriptmapping.cpp:699:25: warning: 'std::pair<int, int> {anonymous}::get_bc_umi_lengths(std::string)' defined but not used [-Wunused-function]
  699 |     std::pair<int, int> get_bc_umi_lengths(string bam_fn) {
      |                         ^~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c trimbarcode.cpp -o trimbarcode.o
trimbarcode.cpp: In function 'void kseq_t_to_bam_t(kseq_t*, bam1_t*, int)':
trimbarcode.cpp:38:19: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   38 |     if (b->m_data < b->l_data)
      |         ~~~~~~~~~~^~~~~~~~~~~
trimbarcode.cpp: In function 'void paired_fastq_to_bam(char*, char*, char*, read_s, filter_s)':
trimbarcode.cpp:92:9: warning: variable 'hts_retcode' set but not used [-Wunused-but-set-variable]
   92 |     int hts_retcode;
      |         ^~~~~~~~~~~
trimbarcode.cpp:207:15: warning: pointer 'old_name_adr' used after 'void* realloc(void*, size_t)' [-Wuse-after-free]
  207 |         memcpy(new_name_adr, old_name_adr, n_char_copied);
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trimbarcode.cpp:206:38: note: call to 'void* realloc(void*, size_t)' here
  206 |         seq1->name.s = (char*)realloc(old_name_adr, new_name_length);
      |                               ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trimbarcode.cpp: In function 'void paired_fastq_to_fastq(char*, char*, char*, read_s, filter_s, bool)':
trimbarcode.cpp:450:24: warning: 'o_stream_gz' may be used uninitialized [-Wmaybe-uninitialized]
  450 |             fq_gz_write(o_stream_gz, seq1, bc1_end); // write to gzipped fastq file
      |             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
trimbarcode.cpp:302:12: note: 'o_stream_gz' was declared here
  302 |     gzFile o_stream_gz;
      |            ^~~~~~~~~~~
g++  -std=gnu++11 -I"F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include" -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/include' -I'F:/biocbuild/bbs-3.17-bioc/R/library/testthat/include'   -I"c:/rtools42/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils.cpp -o utils.o
g++ -shared -s -static-libgcc -o scPipe.dll tmp.def Gene.o Interval.o RcppExports.o cellbarcode.o detect_barcode.o parsebam.o parsecount.o rcpp_scPipe_func.o test-cpp.o test-runner.o transcriptmapping.o trimbarcode.o utils.o F:/biocbuild/bbs-3.17-bioc/R/library/Rhtslib/usrlib/x64/libhts.a -lz -lm -lbz2 -llzma -lcurl -lidn2 -lunistring -liconv -lssl -lcrypto -lcrypt32 -lwsock32 -lwldap32 -lssh2 -lgcrypt -lgpg-error -lws2_32 -lzstd -lregex -LF:/biocbuild/bbs-3.17-bioc/R/library/zlibbioc/libs/x64 -lzlib1bioc -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-scPipe/00new/scPipe/libs/x64
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (scPipe)

Tests output

scPipe.Rcheck/tests/testthat.Rout


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

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

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

    I, expand.grid, unname

Loading required package: IRanges

Attaching package: 'IRanges'

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

    windows

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("scPipe")
[ FAIL 0 | WARN 6 | SKIP 0 | PASS 29 ]

[ FAIL 0 | WARN 6 | SKIP 0 | PASS 29 ]
> 
> proc.time()
   user  system elapsed 
  13.76    0.87   14.70 

Example timings

scPipe.Rcheck/scPipe-Ex.timings

nameusersystemelapsed
QC_metrics0.800.020.83
UMI_dup_info0.190.010.20
UMI_duplication0.250.050.30
anno_import2.060.052.13
anno_to_saf000
calculate_QC_metrics2.370.463.01
cell_barcode_matching0.160.040.19
convert_geneid0.410.040.45
create_processed_report000
create_report000
create_sce_by_dir0.170.020.19
demultiplex_info0.170.000.17
detect_outlier0.330.040.38
gene_id_type0.170.000.17
get_ercc_anno000
get_genes_by_GO0.830.080.90
get_read_str000
organism0.220.030.25
plot_QC_pairs4.870.145.08
plot_UMI_dup0.450.020.47
plot_demultiplex0.290.000.28
plot_mapping0.590.030.62
remove_outliers0.260.010.28
sc_correct_bam_bc000
sc_count_aligned_bam000
sc_demultiplex000
sc_demultiplex_and_count000
sc_detect_bc000
sc_exon_mapping0.020.000.02
sc_gene_counting000
sc_sample_data4.020.104.12
sc_sample_qc0.640.030.68
sc_trim_barcode000