############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data DiffBind ### ############################################################################## ############################################################################## * checking for file ‘DiffBind/DESCRIPTION’ ... OK * preparing ‘DiffBind’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘DiffBind’ ... ** using staged installation ** libs using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rhtslib/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rhtslib/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c bamReader.cpp -o bamReader.o bamReader.cpp:22:5: error: use of undeclared identifier 'error' error("file '%s' does not appear to be a BAM file (bad magic number)",filename.c_str()); ^ 1 error generated. make: *** [bamReader.o] Error 1 ERROR: compilation failed for package ‘DiffBind’ * removing ‘/private/tmp/RtmpvNLyru/Rinst9f31479eae53/DiffBind’ ----------------------------------- ERROR: package installation failed