* installing *source* package ‘runjags’ ...
** package ‘runjags’ successfully unpacked and MD5 sums checked
** using staged installation
checking for pkg-config... /opt/R/arm64/bin/pkg-config
configure: WARNING: pkg-config file for jags 2 unavailable
configure: WARNING: Consider adding the directory containing `jags.pc`
configure: WARNING: to the PKG_CONFIG_PATH environment variable
configure: Attempting legacy configuration of rjags
checking for jags... /usr/local/bin/jags
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether clang++ -arch arm64 -std=gnu++14 accepts -g... yes
checking for clang++ -arch arm64 -std=gnu++14 option to enable C++11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for Console.h... yes
configure: Compile flags are -I/usr/local/include/JAGS
configure: Link flags are -L/usr/local/lib -ljags
checking for gcc... clang -arch arm64
checking whether the compiler supports GNU C... yes
checking whether clang -arch arm64 accepts -g... yes
checking for clang -arch arm64 option to enable C11 features... none needed
checking for jags_version in -ljags... yes
checking version of JAGS library... configure: creating ./config.status
config.status: creating src/Makevars
** libs
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/jags/DFunction.cc -o distributions/jags/DFunction.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/jags/DPQFunction.cc -o distributions/jags/DPQFunction.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/jags/PFunction.cc -o distributions/jags/PFunction.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/jags/QFunction.cc -o distributions/jags/QFunction.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/jags/RScalarDist.cc -o distributions/jags/RScalarDist.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/DPar1.cc -o distributions/DPar1.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/DPar2.cc -o distributions/DPar2.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/DPar3.cc -o distributions/DPar3.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/DPar4.cc -o distributions/DPar4.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/DLomax.cc -o distributions/DLomax.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/DMouchel.cc -o distributions/DMouchel.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/DGenPar.cc -o distributions/DGenPar.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions/DHalfCauchy.cc -o distributions/DHalfCauchy.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c runjags.cc -o runjags.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include/JAGS -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c testrunjags.cc -o testrunjags.o
clang++ -arch arm64 -std=gnu++14 -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 runjags.so distributions/jags/DFunction.o distributions/jags/DPQFunction.o distributions/jags/PFunction.o distributions/jags/QFunction.o distributions/jags/RScalarDist.o distributions/DPar1.o distributions/DPar2.o distributions/DPar3.o distributions/DPar4.o distributions/DLomax.o distributions/DMouchel.o distributions/DGenPar.o distributions/DHalfCauchy.o init.o runjags.o testrunjags.o -L/usr/local/lib -ljags -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.2/runjags.Rcheck/00LOCK-runjags/00new/runjags/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 (runjags)