############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL fastseg ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library’ * installing *source* package ‘fastseg’ ... ** 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 arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_init_fastseg.c -o R_init_fastseg.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c segment.cpp -o segment.o segment.cpp:63:40: warning: variable 'maxIdx' set but not used [-Wunused-but-set-variable] double newPValue, maxPValue,oldPValue,maxIdx; ^ segment.cpp:61:9: warning: variable 'oldStatistic' set but not used [-Wunused-but-set-variable] double oldStatistic, meanLeft,meanRight,varLeft,varRight; ^ segment.cpp:65:9: warning: unused variable 'Rf_beta' [-Wunused-variable] double beta,nn; ^ /Library/Frameworks/R.framework/Resources/include/Rmath.h:210:15: note: expanded from macro 'beta' #define beta Rf_beta ^ segment.cpp:60:20: warning: variable 'globalSd' set but not used [-Wunused-but-set-variable] double globalMean,globalSd,diff,M2,globalVariance; ^ segment.cpp:62:31: warning: variable 'maxStatistic' set but not used [-Wunused-but-set-variable] double newStatistic,meanDiff,maxStatistic,DOF,a,b,eps1; ^ 5 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c segmentCyberT.cpp -o segmentCyberT.o segmentCyberT.cpp:59:20: warning: variable 'globalSd' set but not used [-Wunused-but-set-variable] double globalMean,globalSd,diff,M2,globalVariance; ^ segmentCyberT.cpp:61:31: warning: variable 'maxStatistic' set but not used [-Wunused-but-set-variable] double newStatistic,meanDiff,maxStatistic,DOF,a,b,eps1; ^ segmentCyberT.cpp:63:50: warning: unused variable 'Rf_beta' [-Wunused-variable] double newStatisticBptLeft,newStatisticBptRight,beta,nn; ^ /Library/Frameworks/R.framework/Resources/include/Rmath.h:210:15: note: expanded from macro 'beta' #define beta Rf_beta ^ segmentCyberT.cpp:60:9: warning: variable 'oldStatistic' set but not used [-Wunused-but-set-variable] double oldStatistic,meanLeft,meanRight,varLeft,varRight; ^ 4 warnings generated. clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o fastseg.so R_init_fastseg.o segment.o segmentCyberT.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/00LOCK-fastseg/00new/fastseg/libs ** 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 ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (fastseg)