* installing *source* package ‘AntMAN’ ... ** package ‘AntMAN’ 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++11 using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -DHAS_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c AntMan.cpp -o AntMan.o In file included from AntMan.cpp:6: In file included from ./Mixtures.h:10: In file included from ./MixtureMultivariateBinomial.h:11: ./Mixture.h:150:10: warning: variable 'total_u' set but not used [-Wunused-but-set-variable] double total_u = 0; ^ ./Mixture.h:152:10: warning: variable 'total_mna' set but not used [-Wunused-but-set-variable] double total_mna = 0; ^ AntMan.cpp:281:6: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (mix_components_prior.containsElementNamed("Mstar")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AntMan.cpp:319:39: note: uninitialized use occurs here Prior* prior = new PriorDirac (*h,*q); ^ AntMan.cpp:281:2: note: remove the 'if' if its condition is always true if (mix_components_prior.containsElementNamed("Mstar")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AntMan.cpp:255:27: note: initialize the variable 'q' to silence this warning dirac_gamma_q_param_t * q; ^ = nullptr AntMan.cpp:345:13: warning: variable 'prior' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if ((prior_type == "AM_mix_components_prior_dirac") && (weight_type == "AM_mix_weights_prior_gamma")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AntMan.cpp:351:9: note: uninitialized use occurs here return prior; ^~~~~ AntMan.cpp:345:9: note: remove the 'if' if its condition is always true } else if ((prior_type == "AM_mix_components_prior_dirac") && (weight_type == "AM_mix_weights_prior_gamma")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AntMan.cpp:345:13: warning: variable 'prior' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] } else if ((prior_type == "AM_mix_components_prior_dirac") && (weight_type == "AM_mix_weights_prior_gamma")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AntMan.cpp:351:9: note: uninitialized use occurs here return prior; ^~~~~ AntMan.cpp:345:13: note: remove the '&&' if its condition is always true } else if ((prior_type == "AM_mix_components_prior_dirac") && (weight_type == "AM_mix_weights_prior_gamma")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AntMan.cpp:339:14: note: initialize the variable 'prior' to silence this warning Prior* prior; ^ = nullptr In file included from AntMan.cpp:6: In file included from ./Mixtures.h:10: In file included from ./MixtureMultivariateBinomial.h:11: In file included from ./Mixture.h:13: In file included from ./Prior.h:12: ./AntMANLogger.h:39:15: warning: private field '_max_size' is not used [-Wunused-private-field] const size_t _max_size; ^ 6 warnings generated. clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -DHAS_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -DHAS_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c calcola_stirling260.cpp -o calcola_stirling260.o clang++ -arch x86_64 -std=gnu++11 -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 AntMAN.so AntMan.o RcppExports.o calcola_stirling260.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/AntMAN.Rcheck/00LOCK-AntMAN/00new/AntMAN/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 ** 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 (AntMAN)