Back to Multiple platform build/check report for BioC 3.8
ABCDEFGHIJKLMNOPQ[R]STUVWXYZ

CHECK report for Rsamtools on merida1

This page was generated on 2019-04-16 11:55:13 -0400 (Tue, 16 Apr 2019).

Package 1352/1649HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
Rsamtools 1.34.1
Bioconductor Package Maintainer
Snapshot Date: 2019-04-15 17:01:12 -0400 (Mon, 15 Apr 2019)
URL: https://git.bioconductor.org/packages/Rsamtools
Branch: RELEASE_3_8
Last Commit: 0ec1d45
Last Changed Date: 2019-01-30 18:10:29 -0400 (Wed, 30 Jan 2019)
malbec1 Linux (Ubuntu 16.04.6 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
merida1 OS X 10.11.6 El Capitan / x86_64  OK  OK [ WARNINGS ] OK UNNEEDED, same version exists in internal repository

Summary

Package: Rsamtools
Version: 1.34.1
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:Rsamtools.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings Rsamtools_1.34.1.tar.gz
StartedAt: 2019-04-16 02:30:30 -0400 (Tue, 16 Apr 2019)
EndedAt: 2019-04-16 02:33:25 -0400 (Tue, 16 Apr 2019)
EllapsedTime: 174.2 seconds
RetCode: 0
Status:  WARNINGS 
CheckDir: Rsamtools.Rcheck
Warnings: 1

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:Rsamtools.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings Rsamtools_1.34.1.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.8-bioc/meat/Rsamtools.Rcheck’
* using R version 3.5.3 (2019-03-11)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘Rsamtools/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘Rsamtools’ version ‘1.34.1’
* 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 ‘Rsamtools’ can be installed ... WARNING
Found the following significant warnings:
  samtools/bcftools/vcf.c:304:15: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
See ‘/Users/biocbuild/bbs-3.8-bioc/meat/Rsamtools.Rcheck/00install.out’ for details.
* checking installed package size ... NOTE
  installed size is  6.0Mb
  sub-directories of 1Mb or more:
    extdata   2.6Mb
    usrlib    1.0Mb
* 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
Unexported objects imported by ':::' calls:
  ‘S4Vectors:::explodeIntBits’ ‘S4Vectors:::implodeIntBits’
  ‘S4Vectors:::makePowersOfTwo’ ‘S4Vectors:::quick_unlist’
  ‘S4Vectors:::selectSome’
  See the note in ?`:::` about the use of this operator.
* 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 compiled code ... NOTE
Note: information on .o files is not available
File ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/libs/Rsamtools.so’:
  Found ‘___stderrp’, possibly from ‘stderr’ (C)
  Found ‘___stdoutp’, possibly from ‘stdout’ (C)
  Found ‘_puts’, possibly from ‘printf’ (C), ‘puts’ (C)
  Found ‘_srand48’, possibly from ‘srand48’ (C)

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. 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 sizes of PDF files under ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU or elapsed time > 5s
         user system elapsed
pileup 48.695  0.791  49.753
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘Rsamtools_unit_tests.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: 1 WARNING, 3 NOTEs
See
  ‘/Users/biocbuild/bbs-3.8-bioc/meat/Rsamtools.Rcheck/00check.log’
for details.



Installation output

Rsamtools.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD INSTALL Rsamtools
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library’
* installing *source* package ‘Rsamtools’ ...
** libs
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c Biostrings_stubs.c -o Biostrings_stubs.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c IRanges_stubs.c -o IRanges_stubs.o
clang++  -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c PileupBuffer.cpp -o PileupBuffer.o
In file included from PileupBuffer.cpp:1:
./PileupBuffer.h:56:16: warning: private field 'schema' is not used [-Wunused-private-field]
    const SEXP schema, pileupParams, seqnamesLevels;
               ^
1 warning generated.
clang++  -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c PosCacheColl.cpp -o PosCacheColl.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c R_init_Rsamtools.c -o R_init_Rsamtools.o
clang++  -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c ResultManager.cpp -o ResultManager.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c S4Vectors_stubs.c -o S4Vectors_stubs.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c XVector_stubs.c -o XVector_stubs.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c as_bam.c -o as_bam.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c bam_data.c -o bam_data.o
clang++  -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c bam_mate_iter.cpp -o bam_mate_iter.o
In file included from bam_mate_iter.cpp:2:
./BamRangeIterator.h:11:13: warning: private field 'tid' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
            ^
./BamRangeIterator.h:11:18: warning: private field 'beg' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
                 ^
./BamRangeIterator.h:11:23: warning: private field 'end' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
                      ^
3 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c bambuffer.c -o bambuffer.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c bamfile.c -o bamfile.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c bcffile.c -o bcffile.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c encode.c -o encode.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c fafile.c -o fafile.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c idxstats.c -o idxstats.o
idxstats.c:32:1: warning: unused function 'kh_init_idxstat_hash' [-Wunused-function]
KHASH_MAP_INIT_INT(idxstat_hash, bam_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:68:1: note: expanded from here
kh_init_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_destroy_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:73:1: note: expanded from here
kh_destroy_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_clear_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:76:1: note: expanded from here
kh_clear_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_put_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:85:1: note: expanded from here
kh_put_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_del_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:90:1: note: expanded from here
kh_del_idxstat_hash
^
5 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c io_sam.c -o io_sam.o
clang++  -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c pbuffer_wrapper.cpp -o pbuffer_wrapper.o
clang++  -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c pileup.cpp -o pileup.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c pileupbam.c -o pileupbam.o
pileupbam.c:59:1: warning: unused function 'kh_destroy_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:54:1: note: expanded from here
kh_destroy_s
^
pileupbam.c:59:1: warning: unused function 'kh_clear_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:57:1: note: expanded from here
kh_clear_s
^
pileupbam.c:59:1: warning: unused function 'kh_get_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:60:1: note: expanded from here
kh_get_s
^
pileupbam.c:59:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:71:1: note: expanded from here
kh_del_s
^
4 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools_patch.c -o samtools_patch.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c scan_bam_data.c -o scan_bam_data.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c tabixfile.c -o tabixfile.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c tagfilter.c -o tagfilter.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c utilities.c -o utilities.o
utilities.c:91:1: warning: unused function 'kh_clear_str' [-Wunused-function]
KHASH_MAP_INIT_STR(str, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:22:1: note: expanded from here
kh_clear_str
^
utilities.c:91:1: warning: unused function 'kh_del_str' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:36:1: note: expanded from here
kh_del_str
^
2 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c zip_compression.c -o zip_compression.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bgzf.c -o samtools/bgzf.o
samtools/bgzf.c:83:1: warning: unused function 'kh_clear_cache' [-Wunused-function]
KHASH_MAP_INIT_INT64(cache, cache_t)
^
./samtools/khash.h:510:2: note: expanded from macro 'KHASH_MAP_INIT_INT64'
        KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:40:1: note: expanded from here
kh_clear_cache
^
1 warning generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/kstring.c -o samtools/kstring.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_aux.c -o samtools/bam_aux.o
samtools/bam_aux.c:5:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:319:1: note: expanded from here
kh_clear_s
^
samtools/bam_aux.c:5:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:333:1: note: expanded from here
kh_del_s
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_init_r2l' [-Wunused-function]
KHASH_MAP_INIT_STR(r2l, str_p)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:6:1: note: expanded from here
kh_init_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_destroy_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:11:1: note: expanded from here
kh_destroy_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_clear_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:14:1: note: expanded from here
kh_clear_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_get_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:17:1: note: expanded from here
kh_get_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_put_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:23:1: note: expanded from here
kh_put_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_del_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:28:1: note: expanded from here
kh_del_r2l
^
8 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam.c -o samtools/bam.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_import.c -o samtools/bam_import.o
samtools/bam_import.c:20:1: warning: unused function 'kh_clear_ref' [-Wunused-function]
KHASH_MAP_INIT_STR(ref, uint64_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:248:1: note: expanded from here
kh_clear_ref
^
samtools/bam_import.c:20:1: warning: unused function 'kh_get_ref' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:251:1: note: expanded from here
kh_get_ref
^
samtools/bam_import.c:20:1: warning: unused function 'kh_del_ref' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:262:1: note: expanded from here
kh_del_ref
^
3 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/sam.c -o samtools/sam.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_index.c -o samtools/bam_index.o
samtools/bam_index.c:64:1: warning: unused function 'kh_clear_i' [-Wunused-function]
KHASH_MAP_INIT_INT(i, bam_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:21:1: note: expanded from here
kh_clear_i
^
samtools/bam_index.c:64:1: warning: unused function 'kh_del_i' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:35:1: note: expanded from here
kh_del_i
^
2 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_pileup.c -o samtools/bam_pileup.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_lpileup.c -o samtools/bam_lpileup.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_md.c -o samtools/bam_md.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/razf.c -o samtools/razf.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/faidx.c -o samtools/faidx.o
samtools/faidx.c:14:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, faidx1_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:265:1: note: expanded from here
kh_clear_s
^
samtools/faidx.c:14:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:279:1: note: expanded from here
kh_del_s
^
2 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/knetfile.c -o samtools/knetfile.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_sort.c -o samtools/bam_sort.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/sam_header.c -o samtools/sam_header.o
samtools/sam_header.c:10:1: warning: unused function 'kh_clear_str' [-Wunused-function]
KHASH_MAP_INIT_STR(str, const char *)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:265:1: note: expanded from here
kh_clear_str
^
samtools/sam_header.c:10:1: warning: unused function 'kh_del_str' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:279:1: note: expanded from here
kh_del_str
^
2 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_reheader.c -o samtools/bam_reheader.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/kprobaln.c -o samtools/kprobaln.o
ar -crus libbam.a samtools/bgzf.o samtools/kstring.o samtools/bam_aux.o samtools/bam.o samtools/bam_import.o samtools/sam.o samtools/bam_index.o samtools/bam_pileup.o samtools/bam_lpileup.o samtools/bam_md.o samtools/razf.o samtools/faidx.o samtools/knetfile.o samtools/bam_sort.o samtools/sam_header.o samtools/bam_reheader.o samtools/kprobaln.o samtools_patch.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/bcf.c -o samtools/bcftools/bcf.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/vcf.c -o samtools/bcftools/vcf.o
samtools/bcftools/vcf.c:304:15: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
                endblock: i = i;
                          ˜ ^ ˜
samtools/bcftools/vcf.c:68:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(vcfFile, vcfFile_read, 4096)
^
./samtools/kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
./samtools/kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
2 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/bcfutils.c -o samtools/bcftools/bcfutils.o
samtools/bcftools/bcfutils.c:13:1: warning: unused function 'kh_clear_str2id' [-Wunused-function]
KHASH_MAP_INIT_STR(str2id, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:74:1: note: expanded from here
kh_clear_str2id
^
samtools/bcftools/bcfutils.c:13:1: warning: unused function 'kh_del_str2id' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:88:1: note: expanded from here
kh_del_str2id
^
2 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/prob1.c -o samtools/bcftools/prob1.o
samtools/bcftools/prob1.c:17:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 16384)
^
./samtools/kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
./samtools/kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
1 warning generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/index.c -o samtools/bcftools/index.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/fet.c -o samtools/bcftools/fet.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/bcf2qcall.c -o samtools/bcftools/bcf2qcall.o
ar -crus libbcf.a samtools/bcftools/bcf.o samtools/bcftools/vcf.o samtools/bcftools/bcfutils.o samtools/bcftools/prob1.o samtools/bcftools/index.o samtools/bcftools/fet.o samtools/bcftools/bcf2qcall.o samtools_patch.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c tabix/index.c -o tabix/index.o
tabix/index.c:34:1: warning: unused function 'kh_clear_i' [-Wunused-function]
KHASH_MAP_INIT_INT(i, ti_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:74:1: note: expanded from here
kh_clear_i
^
tabix/index.c:34:1: warning: unused function 'kh_del_i' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:88:1: note: expanded from here
kh_del_i
^
tabix/index.c:35:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:103:1: note: expanded from here
kh_clear_s
^
tabix/index.c:35:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:117:1: note: expanded from here
kh_del_s
^
4 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c tabix/bedidx.c -o tabix/bedidx.o
tabix/bedidx.c:20:1: warning: unused function 'kh_clear_reg' [-Wunused-function]
KHASH_MAP_INIT_STR(reg, bed_reglist_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:19:1: note: expanded from here
kh_clear_reg
^
tabix/bedidx.c:20:1: warning: unused function 'kh_del_reg' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:33:1: note: expanded from here
kh_del_reg
^
2 warnings generated.
ar -crus libtabix.a samtools/bgzf.o samtools/kstring.o samtools/knetfile.o tabix/index.o tabix/bedidx.o samtools_patch.o
mkdir -p "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/include/samtools/bcftools"
mkdir -p "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/include/tabix"
cp samtools/*.h "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/include/samtools/"
cp samtools/bcftools/*h "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/include/samtools/bcftools/"
cp tabix/*h "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/include/tabix/"
cp samtools/bgzf.h samtools/kstring.h samtools/knetfile.h \
		"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/include/tabix/"
mkdir -p "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/usrlib"
cp libbam.a libbcf.a libtabix.a "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/usrlib"
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o Rsamtools.so Biostrings_stubs.o IRanges_stubs.o PileupBuffer.o PosCacheColl.o R_init_Rsamtools.o ResultManager.o S4Vectors_stubs.o XVector_stubs.o as_bam.o bam_data.o bam_mate_iter.o bambuffer.o bamfile.o bcffile.o encode.o fafile.o idxstats.o io_sam.o pbuffer_wrapper.o pileup.o pileupbam.o samtools_patch.o scan_bam_data.o tabixfile.o tagfilter.o utilities.o zip_compression.o -pthread -fopenmp /Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/usrlib/libbam.a /Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/usrlib/libbcf.a /Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/usrlib/libtabix.a -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
clang-4.0: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
installing to /Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rsamtools/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
* DONE (Rsamtools)

Tests output

Rsamtools.Rcheck/tests/Rsamtools_unit_tests.Rout


R version 3.5.3 (2019-03-11) -- "Great Truth"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (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.

> BiocGenerics:::testPackage('Rsamtools')

Attaching package: 'BiocGenerics'

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

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

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, append,
    as.data.frame, basename, cbind, colMeans, colSums, colnames,
    dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
    intersect, is.unsorted, lapply, lengths, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
    rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min


Attaching package: 'S4Vectors'

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

    expand.grid


Attaching package: 'Biostrings'

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

    strsplit



RUNIT TEST PROTOCOL -- Tue Apr 16 02:33:18 2019 
*********************************************** 
Number of test functions: 186 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
Rsamtools RUnit Tests - 186 test functions, 0 errors, 0 failures
Number of test functions: 186 
Number of errors: 0 
Number of failures: 0 
Warning messages:
1: In read.table(conn, colClasses = colClasses, col.names = names(colClasses),  :
  not all columns named in 'colClasses' exist
2: In read.table(conn, colClasses = colClasses, col.names = names(colClasses),  :
  not all columns named in 'colClasses' exist
3: In read.table(conn, colClasses = colClasses, col.names = names(colClasses),  :
  not all columns named in 'colClasses' exist
4: In read.table(conn, colClasses = colClasses, col.names = names(colClasses),  :
  not all columns named in 'colClasses' exist
> 
> proc.time()
   user  system elapsed 
 15.458   1.197  20.999 

Example timings

Rsamtools.Rcheck/Rsamtools-Ex.timings

nameusersystemelapsed
ApplyPileupsParam-class0.2640.0260.291
BamFile-class0.4140.0330.461
BamViews-class0.0400.0010.040
BcfFile-class0.2210.0170.240
FaFile-class0.0370.0010.038
PileupFiles-class0.1090.0040.113
Rsamtools-package0.0180.0010.018
ScanBamParam-class0.5370.0520.591
ScanBcfParam-class0.0010.0000.001
TabixFile-class0.0510.0020.054
applyPileups0.1330.0040.139
headerTabix0.0060.0010.006
indexTabix0.0310.0020.035
pileup48.695 0.79149.753
quickBamFlagSummary0.0300.0020.033
readPileup0.0670.0020.071
scanBam0.6340.0450.685
scanBcf0.2620.0470.310
scanFa0.0430.0020.046
scanTabix0.0450.0020.048
seqnamesTabix0.0030.0000.004
testPairedEndBam0.0160.0000.017
zip0.0310.0020.033