############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data MACPET ### ############################################################################## ############################################################################## * checking for file ‘MACPET/DESCRIPTION’ ... OK * preparing ‘MACPET’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘MACPET’ ... ** using staged installation ** libs clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/bigmemory/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/BH/include' -I/usr/local/include -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/bigmemory/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/BH/include' -I/usr/local/include -fPIC -Wall -g -O2 -c Stage_0_FastqFilteringSubFunctions.cpp -o Stage_0_FastqFilteringSubFunctions.o clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/bigmemory/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/BH/include' -I/usr/local/include -fPIC -Wall -g -O2 -c Stage_3_PeakFinderSubFunctions.cpp -o Stage_3_PeakFinderSubFunctions.o Stage_3_PeakFinderSubFunctions.cpp:1146:76: error: use of undeclared identifier 'DOUBLE_EPS' double Ak_g=1.0/std::max(1.0-B_my_g[g-1]/C_my_g[g-1],std::sqrt(DOUBLE_EPS)); ^ Stage_3_PeakFinderSubFunctions.cpp:1149:43: error: use of undeclared identifier 'DOUBLE_EPS' double k_g=std::max(std::sqrt(DOUBLE_EPS),Ak_g*(Bk_g-Ck_g)); ^ Stage_3_PeakFinderSubFunctions.cpp:1153:75: error: use of undeclared identifier 'DOUBLE_EPS' my_g[g-1]=Bk_g+std::min(B_my_g[g-1]/C_my_g[g-1],1.0-std::sqrt(DOUBLE_EPS))*k_g; ^ Stage_3_PeakFinderSubFunctions.cpp:1217:45: error: use of undeclared identifier 'DOUBLE_EPS' if(lambdax>=0.0) lambdax=-std::sqrt(DOUBLE_EPS); ^ Stage_3_PeakFinderSubFunctions.cpp:1218:50: error: use of undeclared identifier 'DOUBLE_EPS' if(lambdax<=-1.0) lambdax=-1.0+std::sqrt(DOUBLE_EPS); ^ Stage_3_PeakFinderSubFunctions.cpp:1257:48: error: use of undeclared identifier 'DOUBLE_EPS' if(lambday>=1.0) lambday=1.0-std::sqrt(DOUBLE_EPS); ^ Stage_3_PeakFinderSubFunctions.cpp:1258:44: error: use of undeclared identifier 'DOUBLE_EPS' if(lambday<=0.0) lambday=std::sqrt(DOUBLE_EPS); ^ 7 errors generated. make: *** [Stage_3_PeakFinderSubFunctions.o] Error 1 ERROR: compilation failed for package ‘MACPET’ * removing ‘/private/tmp/Rtmpv223DD/Rinst13c121c2169a1/MACPET’ ----------------------------------- ERROR: package installation failed