* installing *source* package ‘distances’ ...
** package ‘distances’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c distances-init.c -o distances-init.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c error.c -o error.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c get_dists.c -o get_dists.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c internal.c -o internal.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c max_dists.c -o max_dists.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c nn_search.c -o nn_search.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c nn_search_ann.cpp -o nn_search_ann.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c utils.c -o utils.o
(cd libann && R_AR="ar" R_CXX="clang++ -arch x86_64 -std=gnu++17" R_CPPFLAGS="-DNDEBUG -I/opt/R/x86_64/include" R_CXXFLAGS="-fPIC -falign-functions=64 -Wall -g -O2 " make) || exit 1;
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/ANN.cpp -o src/ANN.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/brute.cpp -o src/brute.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/kd_tree.cpp -o src/kd_tree.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/kd_util.cpp -o src/kd_util.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/kd_split.cpp -o src/kd_split.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/kd_dump.cpp -o src/kd_dump.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/kd_search.cpp -o src/kd_search.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/kd_pr_search.cpp -o src/kd_pr_search.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/kd_fix_rad_search.cpp -o src/kd_fix_rad_search.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/bd_tree.cpp -o src/bd_tree.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/bd_search.cpp -o src/bd_search.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/bd_pr_search.cpp -o src/bd_pr_search.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/bd_fix_rad_search.cpp -o src/bd_fix_rad_search.o
clang++ -arch x86_64 -std=gnu++17 -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2  -Iinclude -c src/perf.cpp -o src/perf.o
ar -rcs libann.a src/ANN.o src/brute.o src/kd_tree.o src/kd_util.o src/kd_split.o src/kd_dump.o src/kd_search.o src/kd_pr_search.o src/kd_fix_rad_search.o src/bd_tree.o src/bd_search.o src/bd_pr_search.o src/bd_fix_rad_search.o src/perf.o
clang++ -arch x86_64 -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/x86_64/lib -o distances.so distances-init.o error.o get_dists.o internal.o max_dists.o nn_search.o nn_search_ann.o utils.o libann/libann.a -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/distances.Rcheck/00LOCK-distances/00new/distances/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (distances)