* installing *source* package ‘serrsBayes’ ...
** package ‘serrsBayes’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.1.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/serrsBayes/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c mixLorentz.cpp -o mixLorentz.o
mixLorentz.cpp:261: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
  261 | #pragma omp parallel for
mixLorentz.cpp:439: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
  439 | #pragma omp parallel for default(shared) reduction(+:accept)
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c mixVoigt.cpp -o mixVoigt.o
mixVoigt.cpp:358: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
  358 | #pragma omp parallel for default(shared) reduction(+:accept)
mixLorentz.cpp: In function 'Eigen::ArrayXi resampleParticles(Rcpp::NumericVector, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericVector, int, int)':
mixLorentz.cpp:258:18: warning: unused variable 't1' [-Wunused-variable]
  258 |   struct timeval t1,t2;
      |                  ^~
mixLorentz.cpp:258:21: warning: unused variable 't2' [-Wunused-variable]
  258 |   struct timeval t1,t2;
      |                     ^~
mixLorentz.cpp: In function 'long int marginalMetropolisUpdate(Eigen::MatrixXd, unsigned int, Eigen::VectorXd, Eigen::VectorXd, Eigen::VectorXd, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericVector, Rcpp::NumericMatrix, Rcpp::NumericVector, Eigen::VectorXd, Rcpp::List)':
mixLorentz.cpp:472:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  472 |       for (int i=0; i<n; i++)
      |                     ~^~
mixLorentz.cpp:493:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  493 |       for (int i=0; i<n; i++)
      |                     ~^~
mixLorentz.cpp:560:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  560 |         for (int i=0; i<n; i++)
      |                       ~^~
mixVoigt.cpp: In function 'long int mhUpdateVoigt(Eigen::MatrixXd, unsigned int, double, Eigen::VectorXd, Eigen::VectorXd, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Eigen::MatrixXd, Rcpp::List)':
mixVoigt.cpp:408:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  408 |     for (int i=0; i < n-1; i++) {
      |                   ~~^~~~~
mixVoigt.cpp:426:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  426 |       for (int i=0; i < n; i++) {
      |                     ~~^~~
In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:188,
                 from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigenForward.h:26,
                 from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigen.h:25,
                 from mixLorentz.cpp:24:
In function 'SEXPREC* Rcpp::internal::primitive_wrap__impl__cast(const T&, Rcpp::traits::false_type) [with T = double]',
    inlined from 'SEXPREC* Rcpp::internal::primitive_wrap__impl(const T&, Rcpp::traits::r_type_primitive_tag) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:465:46,
    inlined from 'SEXPREC* Rcpp::internal::primitive_wrap(const T&) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:489:40,
    inlined from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_primitive_tag) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:744:34,
    inlined from 'SEXPREC* Rcpp::wrap(const T&) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap_end.h:30:38,
    inlined from 'static SEXPREC* Rcpp::internal::generic_element_converter<RTYPE>::get(const T&) [with T = double; int RTYPE = 19]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/converter.h:80:23,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element__dispatch__isArgument(Rcpp::traits::false_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:532:13,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element__dispatch(Rcpp::traits::true_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:525:46,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element(iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:514:34,
    inlined from 'static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create__dispatch(Rcpp::traits::true_type, const T1&, const T2&, const T3&, const T4&) [with T1 = Rcpp::traits::named_object<double>; T2 = Rcpp::traits::named_object<Rcpp::sugar::Minus_Vector_Primitive<14, true, Rcpp::Vector<14, Rcpp::PreserveStorage> > >; T3 = Rcpp::traits::named_object<int>; T4 = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/generated/Vector__create.h:230:24,
    inlined from 'static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create(const T1&, const T2&, const T3&, const T4&) [with T1 = Rcpp::traits::named_object<double>; T2 = Rcpp::traits::named_object<Rcpp::sugar::Minus_Vector_Primitive<14, true, Rcpp::Vector<14, Rcpp::PreserveStorage> > >; T3 = Rcpp::traits::named_object<int>; T4 = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/generated/Vector__create.h:202:29,
    inlined from 'Rcpp::List reWeightParticles(Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, double, Rcpp::IntegerVector)' at mixLorentz.cpp:174:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:442:41: warning: 'ess' may be used uninitialized [-Wmaybe-uninitialized]
  442 |             r_vector_start<RTYPE>(x)[0] = object;
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
mixLorentz.cpp: In function 'Rcpp::List reWeightParticles(Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, double, Rcpp::IntegerVector)':
mixLorentz.cpp:148:10: note: 'ess' was declared here
  148 |   double ess, oldESS = effectiveSampleSize(old_weights);
      |          ^~~
mixVoigt.cpp:402:22: warning: 'prExpRate' may be used uninitialized [-Wmaybe-uninitialized]
  402 |       lLik += sumDexp(Prop_Theta.segment(3*nPK,nPK), prExpRate);
      |               ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mixVoigt.cpp:335:10: note: 'prExpRate' was declared here
  335 |   double prExpRate;
      |          ^~~~~~~~~
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o serrsBayes.so RcppExports.o mixLorentz.o mixVoigt.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/serrsBayes/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/serrsBayes/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/serrsBayes/src'
installing to /data/gannet/ripley/R/packages/tests-devel/serrsBayes.Rcheck/00LOCK-serrsBayes/00new/serrsBayes/libs
** 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 (serrsBayes)