############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL Harman ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library’ * installing *source* package ‘Harman’ ... ** using staged installation ** libs clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_ARRAYALIGNEMT=4 -D_USE_RCPP=1 -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()"` -I. -fPIC -falign-functions=64 -Wall -g -O2 -c Harman.cpp -o Harman.o In file included from Harman.cpp:150: In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27: In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] ::sprintf(buff, "%02x", from); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from Harman.cpp:182: ./CSelectRandom.h:283:11: warning: variable 'seed' set but not used [-Wunused-but-set-variable] size_t seed ; ^ ./CSelectRandom.h:372:11: warning: variable 'seed' set but not used [-Wunused-but-set-variable] size_t seed ; ^ ./CSelectRandom.h:394:40: warning: unused variable 'it2' [-Wunused-variable] std::vector::iterator it1, it2 ; ^ ./CSelectRandom.h:394:35: warning: unused variable 'it1' [-Wunused-variable] std::vector::iterator it1, it2 ; ^ ./CSelectRandom.h:392:11: warning: unused variable 'currindex' [-Wunused-variable] size_t currindex ; ^ ./CSelectRandom.h:639:11: warning: unused variable 'time1' [-Wunused-variable] double time1, time2 ; ^ ./CSelectRandom.h:639:18: warning: unused variable 'time2' [-Wunused-variable] double time1, time2 ; ^ ./CSelectRandom.h:638:25: warning: unused variable 'ts2' [-Wunused-variable] struct timespec ts1, ts2 ; ^ ./CSelectRandom.h:638:20: warning: unused variable 'ts1' [-Wunused-variable] struct timespec ts1, ts2 ; ^ ./CSelectRandom.h:1019:23: warning: unused variable 'randData2' [-Wunused-variable] size_t randData1, randData2 ; ^ 11 warnings generated. clang++ -arch arm64 -std=gnu++14 -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 Harman.so Harman.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: -undefined dynamic_lookup may not work with chained fixups installing to /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-Harman/00new/Harman/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 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 (Harman)