* installing *source* package ‘pcalg’ ... ** package ‘pcalg’ 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 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'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include -I"../inst/include" -fPIC -falign-functions=64 -Wall -g -O2 -c constraint.cpp -o constraint.o In file included from constraint.cpp:8: In file included from ../inst/include/pcalg/constraint.hpp:8: ../inst/include/pcalg/armaLapack.hpp:17:9: warning: 'NDEBUG' macro redefined [-Wmacro-redefined] #define NDEBUG ^ <command line>:1:9: note: previous definition is here #define NDEBUG 1 ^ 1 warning generated. 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'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include -I"../inst/include" -fPIC -falign-functions=64 -Wall -g -O2 -c gies.cpp -o gies.o In file included from gies.cpp:21: In file included from ../inst/include/pcalg/constraint.hpp:8: ../inst/include/pcalg/armaLapack.hpp:17:9: warning: 'NDEBUG' macro redefined [-Wmacro-redefined] #define NDEBUG ^ <command line>:1:9: note: previous definition is here #define NDEBUG 1 ^ 1 warning generated. 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'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include -I"../inst/include" -fPIC -falign-functions=64 -Wall -g -O2 -c greedy.cpp -o greedy.o In file included from greedy.cpp:8: In file included from ../inst/include/pcalg/greedy.hpp:11: In file included from ../inst/include/pcalg/score.hpp:12: ../inst/include/pcalg/armaLapack.hpp:17:9: warning: 'NDEBUG' macro redefined [-Wmacro-redefined] #define NDEBUG ^ <command line>:1:9: note: previous definition is here #define NDEBUG 1 ^ greedy.cpp:862:30: warning: unused variable 'vi' [-Wunused-variable] std::vector<uint>::iterator vi; ^ 2 warnings generated. clang -arch arm64 -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'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.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'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include -I"../inst/include" -fPIC -falign-functions=64 -Wall -g -O2 -c score.cpp -o score.o In file included from score.cpp:6: In file included from ../inst/include/pcalg/score.hpp:12: ../inst/include/pcalg/armaLapack.hpp:17:9: warning: 'NDEBUG' macro redefined [-Wmacro-redefined] #define NDEBUG ^ <command line>:1:9: note: previous definition is here #define NDEBUG 1 ^ score.cpp:170:29: warning: unused variable 'vi' [-Wunused-variable] std::vector<int>::iterator vi; ^ 2 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 pcalg.so constraint.o gies.o greedy.o init.o score.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/pcalg.Rcheck/00LOCK-pcalg/00new/pcalg/libs ** generating debug symbols (dSYM) ** 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 (pcalg)