* installing *source* package ‘shrinkTVP’ ... ** package ‘shrinkTVP’ successfully unpacked and MD5 sums checked ** using staged installation ** 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 -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c DG_MH_step.cpp -o DG_MH_step.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c DG_log_ratio_value.cpp -o DG_log_ratio_value.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c DG_sampling_functions.cpp -o DG_sampling_functions.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_utilities.cpp -o R_utilities.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c TG_MH_step.cpp -o TG_MH_step.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c TG_log_ratio_value.cpp -o TG_log_ratio_value.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c TG_sampling_functions.cpp -o TG_sampling_functions.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c common_sampling_functions.cpp -o common_sampling_functions.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cpp_utilities.cpp -o cpp_utilities.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c do_rgig1.cpp -o do_rgig1.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c dyn_sampling_steps.cpp -o dyn_sampling_steps.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c exports.cpp -o exports.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rho_p_MH_step.cpp -o rho_p_MH_step.o rho_p_MH_step.cpp:26:10: warning: unused variable 'lone_minus_prop' [-Wunused-variable] double lone_minus_prop = std::log(1 - proposal); ^ rho_p_MH_step.cpp:27:10: warning: unused variable 'lone_minus_old' [-Wunused-variable] double lone_minus_old = std::log(1 - old_val); ^ 2 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sample_DG_TVP.cpp -o sample_DG_TVP.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sample_TG_TVP.cpp -o sample_TG_TVP.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sample_beta_McCausland.cpp -o sample_beta_McCausland.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sample_beta_McCausland_dyn.cpp -o sample_beta_McCausland_dyn.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c shrinkDTVP.cpp -o shrinkDTVP.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_WARN_LEVEL=0 -DARMA_NO_DEBUG -DSTRICT_R_HEADERS `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "RcppGSL:::CFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/GIGrvg/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/stochvol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c shrinkTVP.cpp -o shrinkTVP.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 shrinkTVP.so DG_MH_step.o DG_log_ratio_value.o DG_sampling_functions.o R_utilities.o TG_MH_step.o TG_log_ratio_value.o TG_sampling_functions.o common_sampling_functions.o cpp_utilities.o do_rgig1.o dyn_sampling_steps.o exports.o rho_p_MH_step.o sample_DG_TVP.o sample_TG_TVP.o sample_beta_McCausland.o sample_beta_McCausland_dyn.o shrinkDTVP.o shrinkTVP.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -L/opt/R/arm64/lib -lgsl -lgslcblas -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation 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.4/shrinkTVP.Rcheck/00LOCK-shrinkTVP/00new/shrinkTVP/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 (shrinkTVP)