* installing *source* package ‘fido’ ...
** package ‘fido’ successfully unpacked and MD5 sums checked
** using staged installation
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++17 accepts -g... yes
checking for clang++ -arch arm64 -std=gnu++17 option to enable C++11 features... none needed
checking how to run the C++ preprocessor... clang++ -arch arm64 -std=gnu++17 -E
checking whether the compiler supports GNU C++... (cached) yes
checking whether clang++ -arch arm64 -std=gnu++17 accepts -g... (cached) yes
checking for clang++ -arch arm64 -std=gnu++17 option to enable C++11 features... (cached) none needed
checking whether we have a suitable tempdir... /var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T
checking whether R CMD SHLIB can already compile programs using OpenMP... 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/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c test-omp.cpp -o test-omp.o
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 test-omp.so test-omp.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
Error in dyn.load(paste0("test-omp", .Platform$dynlib.ext)) : 
  unable to load shared object '/private/var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T/rcpparmadillo-878-5162/test-omp.so':
  dlopen(/private/var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T/rcpparmadillo-878-5162/test-omp.so, 0x0006): symbol not found in flat namespace '_omp_get_num_threads'
Execution halted
checking for mac OS... found, not trusting "already works"
checking whether g++ version is sufficient... almost
configure: WARNING: Compiler self-identifies as being compliant with GNUC extensions but is not g++.
checking for macOS... found
checking for macOS Apple compiler... not found
checking for clang compiler... found
checking for OpenMP compatible version of clang... not found
configure: WARNING: OpenMP unavailable and turned off.
checking LAPACK_LIBS... R-supplied partial LAPACK found
configure: WARNING: Some complex-valued LAPACK functions may not be available
configure: creating ./config.status
config.status: creating inst/include/fidoGenerated.h
config.status: creating src/Makevars
** libs
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../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 ConjugateLinearModel.cpp -o ConjugateLinearModel.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 MaltipooCollapsed_LGH.cpp -o MaltipooCollapsed_LGH.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 MaltipooCollapsed_Optim.cpp -o MaltipooCollapsed_Optim.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 MatrixAlgebra.cpp -o MatrixAlgebra.o
MatrixAlgebra.cpp:84:7: warning: unused variable 'ac' [-Wunused-variable]
  int ac=A.cols();
      ^
MatrixAlgebra.cpp:83:7: warning: unused variable 'ar' [-Wunused-variable]
  int ar=A.rows();
      ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 PibbleCollapsed_LGH.cpp -o PibbleCollapsed_LGH.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 PibbleCollapsed_Optim.cpp -o PibbleCollapsed_Optim.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 PibbleCollapsed_Uncollapse.cpp -o PibbleCollapsed_Uncollapse.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 PibbleCollapsed_Uncollapse_sigmaKnown.cpp -o PibbleCollapsed_Uncollapse_sigmaKnown.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 SpecialFunctions.cpp -o SpecialFunctions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 test_LaplaceApproximation.cpp -o test_LaplaceApproximation.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 test_MultDirichletBoot.cpp -o test_MultDirichletBoot.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppNumerical/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppZiggurat/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 test_utils.cpp -o test_utils.o
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 fido.so ConjugateLinearModel.o MaltipooCollapsed_LGH.o MaltipooCollapsed_Optim.o MatrixAlgebra.o PibbleCollapsed_LGH.o PibbleCollapsed_Optim.o PibbleCollapsed_Uncollapse.o PibbleCollapsed_Uncollapse_sigmaKnown.o RcppExports.o SpecialFunctions.o test_LaplaceApproximation.o test_MultDirichletBoot.o test_utils.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/fido.Rcheck/00LOCK-fido/00new/fido/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
** 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 (fido)