* installing *source* package ‘LibOPF’ ...
** package ‘LibOPF’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 13.0.0 (clang-1300.0.29.30)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_split.c -o code/opf_split.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_accuracy.c -o code/opf_accuracy.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_accuracy4label.c -o code/opf_accuracy4label.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_train.c -o code/opf_train.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_semi.c -o code/opf_semi.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_classify.c -o code/opf_classify.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_learn.c -o code/opf_learn.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_distance.c -o code/opf_distance.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_info.c -o code/opf_info.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_fold.c -o code/opf_fold.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_merge.c -o code/opf_merge.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_cluster.c -o code/opf_cluster.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_pruning.c -o code/opf_pruning.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opf_normalize.c -o code/opf_normalize.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opfknn_train.c -o code/opfknn_train.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c code/opfknn_classify.c -o code/opfknn_classify.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c tools/src/txt2opf.c -o tools/src/txt2opf.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c tools/src/opf2txt.c -o tools/src/opf2txt.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c tools/src/opf_check.c -o tools/src/opf_check.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c tools/src/opf2svm.c -o tools/src/opf2svm.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c tools/src/svm2opf.c -o tools/src/svm2opf.o
clang -arch arm64 -O3 -Wall -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -c ./code/util/common.c -o ./code/util/common.o  -fPIC 
clang -arch arm64 -O3 -Wall -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -c ./code/util/set.c -o ./code/util/set.o -fPIC 
clang -arch arm64 -O3 -Wall -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -c ./code/util/gqueue.c -o ./code/util/gqueue.o -fPIC 
clang -arch arm64 -O3 -Wall -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -c ./code/util/realheap.c -o ./code/util/realheap.o -fPIC 
clang -arch arm64 -O3 -Wall -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -c ./code/util/sgctree.c -o ./code/util/sgctree.o -fPIC 
clang -arch arm64 -O3 -Wall -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -c ./code/util/subgraph.c -o ./code/util/subgraph.o -fPIC 
clang -arch arm64 -O3 -Wall -c ./code/OPF.c -I./include -I./include/util -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -o ./code/util/OPF.o -fPIC 
ar csr ./include/libOPF.a \
./code/util/common.o \
./code/util/set.o \
./code/util/gqueue.o \
./code/util/realheap.o \
./code/util/sgctree.o \
./code/util/subgraph.o \
./code/util/OPF.o \

echo "libOPF.a built..."
libOPF.a built...
clang -arch arm64 -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 LibOPF.so code/opf_split.o code/opf_accuracy.o code/opf_accuracy4label.o code/opf_train.o code/opf_semi.o code/opf_classify.o code/opf_learn.o code/opf_distance.o code/opf_info.o code/opf_fold.o code/opf_merge.o code/opf_cluster.o code/opf_pruning.o code/opf_normalize.o code/opfknn_train.o code/opfknn_classify.o init.o tools/src/txt2opf.o tools/src/opf2txt.o tools/src/opf_check.o tools/src/opf2svm.o tools/src/svm2opf.o -L././include -lOPF -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/LibOPF.Rcheck/00LOCK-LibOPF/00new/LibOPF/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 (LibOPF)