* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘AntMAN’ ...
** package ‘AntMAN’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 17.0.5 (1)’
using C++11
make[1]: Entering directory '/tmp/Rtmp5VuZli/R.INSTALL22c827c0fe1f3/AntMAN/src'
clang++-17 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DHAS_RCPP -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -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:10:
In file included from ./math_utils.h:10:
In file included from ./verbose.h:21:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from AntMan.cpp:6:
In file included from ./Mixtures.h:10:
In file included from ./MixtureMultivariateBinomial.h:10:
In file included from ./math_utils.h:10:
In file included from ./verbose.h:21:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
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]
  150 |                 double total_u              = 0;
      |                        ^
./Mixture.h:152:10: warning: variable 'total_mna' set but not used [-Wunused-but-set-variable]
  152 |                 double total_mna            = 0;
      |                        ^
AntMan.cpp:281:6: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  281 |         if (mix_components_prior.containsElementNamed("Mstar")) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AntMan.cpp:319:39: note: uninitialized use occurs here
  319 |         Prior*  prior = new  PriorDirac (*h,*q);
      |                                              ^
AntMan.cpp:281:2: note: remove the 'if' if its condition is always true
  281 |         if (mix_components_prior.containsElementNamed("Mstar")) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                 q = new dirac_gamma_q_param_t(
  283 |                                 Rcpp::as<double>(mix_components_prior["Mstar"]));
  284 |         } else  {
      |           ~~~~~~~
  285 |                 VERBOSE_ERROR("Mstar argument not found.");
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  286 |         }
      |         ~
AntMan.cpp:255:27: note: initialize the variable 'q' to silence this warning
  255 |         dirac_gamma_q_param_t * q;
      |                                  ^
      |                                   = nullptr
AntMan.cpp:345:13: warning: variable 'prior' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  345 |         } 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
  351 |         return prior;
      |                ^~~~~
AntMan.cpp:345:9: note: remove the 'if' if its condition is always true
  345 |         } else if ((prior_type == "AM_mix_components_prior_dirac") && (weight_type == "AM_mix_weights_prior_gamma")) {
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  346 |                 prior = gen_dirac_gamma(mix_components_prior, mix_weight_prior, y);
  347 |         } else{
      |           ~~~~~
  348 |                 VERBOSE_ERROR("Unknown prior: Please could you make sure you properly used the AM_mix_components_prior and AM_mix_weights commands.");
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  349 |         }
      |         ~
AntMan.cpp:345:13: warning: variable 'prior' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
  345 |         } 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
  351 |         return prior;
      |                ^~~~~
AntMan.cpp:345:13: note: remove the '&&' if its condition is always true
  345 |         } 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
  339 |         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]
   39 |         const size_t _max_size;
      |                      ^
9 warnings generated.
clang++-17 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DHAS_RCPP -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from RcppExports.cpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
clang++-17 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DHAS_RCPP -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c calcola_stirling260.cpp -o calcola_stirling260.o
In file included from calcola_stirling260.cpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from calcola_stirling260.cpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
clang++-17 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o AntMAN.so AntMan.o RcppExports.o calcola_stirling260.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-17/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp5VuZli/R.INSTALL22c827c0fe1f3/AntMAN/src'
make[1]: Entering directory '/tmp/Rtmp5VuZli/R.INSTALL22c827c0fe1f3/AntMAN/src'
make[1]: Leaving directory '/tmp/Rtmp5VuZli/R.INSTALL22c827c0fe1f3/AntMAN/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-AntMAN/00new/AntMAN/libs
** 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)