* installing *source* package ‘BayesMallows’ ...
** package ‘BayesMallows’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/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.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c abind.cpp -o abind.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c all_topological_sorts.cpp -o all_topological_sorts.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c asymptotic_partition_function.cpp -o asymptotic_partition_function.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c augmentation_class.cpp -o augmentation_class.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c clustering_class.cpp -o clustering_class.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c data_class.cpp -o data_class.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distances.cpp -o distances.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions.cpp -o distributions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c importance_sampling.cpp -o importance_sampling.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c missing_data_functions.cpp -o missing_data_functions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c parameters_class.cpp -o parameters_class.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c particles.cpp -o particles.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c partition_functions.cpp -o partition_functions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c progress_reporter.cpp -o progress_reporter.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c proposal_functions.cpp -o proposal_functions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c rank_proposal.cpp -o rank_proposal.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c resampler.cpp -o resampler.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c rmallows.cpp -o rmallows.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c run_mcmc.cpp -o run_mcmc.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c run_smc.cpp -o run_smc.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c setdiff.cpp -o setdiff.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c smc_augmentation_class.cpp -o smc_augmentation_class.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c smc_data_class.cpp -o smc_data_class.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/testthat/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c smc_parameters_class.cpp -o smc_parameters_class.o
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 BayesMallows.so RcppExports.o abind.o all_topological_sorts.o asymptotic_partition_function.o augmentation_class.o clustering_class.o data_class.o distances.o distributions.o importance_sampling.o missing_data_functions.o parameters_class.o particles.o partition_functions.o progress_reporter.o proposal_functions.o rank_proposal.o resampler.o rmallows.o run_mcmc.o run_smc.o setdiff.o smc_augmentation_class.o smc_data_class.o smc_parameters_class.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.6.0/12.0.1 -L/opt/R/arm64/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: dylib (/opt/R/arm64/gfortran/lib/libgfortran.dylib) was built for newer macOS version (11.5) than being linked (11.0)
ld: warning: dylib (/opt/R/arm64/gfortran/lib/libquadmath.dylib) was built for newer macOS version (11.5) than being linked (11.0)
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.2/BayesMallows.Rcheck/00LOCK-BayesMallows/00new/BayesMallows/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (BayesMallows)