* installing *source* package ‘COAP’ ... ** package ‘COAP’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c coap_R1.cpp -o coap_R1.o coap_R1.cpp:13:9: warning: 'INT_MIN' macro redefined [-Wmacro-redefined] #define INT_MIN (-INT_MAX - 1) ^ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/limits.h:51:9: note: previous definition is here #define INT_MIN (-__INT_MAX__ -1) ^ coap_R1.cpp:52:7: warning: unused variable 'i' [-Wunused-variable] int i, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols; ^ coap_R1.cpp:53:34: warning: unused variable 'logS' [-Wunused-variable] double pois_term1, pois_term2, logS, entropy=0.0, ELBO=0.0; ^ coap_R1.cpp:74:7: warning: unused variable 'n' [-Wunused-variable] int n = Y.n_rows, d = Z.n_cols; ^ coap_R1.cpp:104:7: warning: unused variable 'n' [-Wunused-variable] int n = Y.n_rows, d = Z.n_cols; ^ coap_R1.cpp:140:7: warning: unused variable 'i' [-Wunused-variable] int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols; ^ coap_R1.cpp:140:10: warning: unused variable 'j' [-Wunused-variable] int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols; ^ coap_R1.cpp:140:53: warning: unused variable 'q' [-Wunused-variable] int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols; ^ coap_R1.cpp:190:30: warning: unused variable 'p' [-Wunused-variable] int i, n = X_count.n_rows, p = X_count.n_cols, q= B_int.n_cols; ^ coap_R1.cpp:190:7: warning: unused variable 'i' [-Wunused-variable] int i, n = X_count.n_rows, p = X_count.n_cols, q= B_int.n_cols; ^ 10 warnings generated. clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o COAP.so RcppExports.o coap_R1.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/COAP.Rcheck/00LOCK-COAP/00new/COAP/libs ** generating debug symbols (dSYM) ** 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 (COAP)