* installing *source* package ‘mniw’ ...
** package ‘mniw’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/mniw/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   -I"../inst/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  -DR_NO_REMAP -c CrossProductExports.cpp -o CrossProductExports.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   -I"../inst/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  -DR_NO_REMAP -c HierarchicalExports.cpp -o HierarchicalExports.o
In file included from ../inst/include/mniw/Hierarchical.h:11,
                 from HierarchicalExports.cpp:11:
../inst/include/mniw/Wishart.h:50:3: warning: multi-line comment [-Wcomment]
   50 |   ///     \stackrel{\mathrm{iid}}{\sim} \mathcal N(0,1) & i < j \\
      |   ^
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   -I"../inst/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  -DR_NO_REMAP -c MatrixNIWExports.cpp -o MatrixNIWExports.o
In file included from MatrixNIWExports.cpp:11:
../inst/include/mniw/Wishart.h:50:3: warning: multi-line comment [-Wcomment]
   50 |   ///     \stackrel{\mathrm{iid}}{\sim} \mathcal N(0,1) & i < j \\
      |   ^
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   -I"../inst/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  -DR_NO_REMAP -c MatrixNormalExports.cpp -o MatrixNormalExports.o
In file included from MatrixNormalExports.cpp:9:
In member function 'double mniw::MatrixNormal::LogDens(const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&, const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double)',
    inlined from 'Eigen::VectorXd LogDensityMatrixNormal(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd)' at MatrixNormalExports.cpp:61:34:
../inst/include/mniw/MatrixNormal.h:119:41: warning: 'ldSigmaR' may be used uninitialized [-Wmaybe-uninitialized]
  119 |     return -(.5 * Z_.squaredNorm() + q_ * ldSigmaR + p_ * ldSigmaC + p_*q_ * M_LN_SQRT_2PI);
      |                                      ~~~^~~~~~~~~~
MatrixNormalExports.cpp: In function 'Eigen::VectorXd LogDensityMatrixNormal(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd)':
MatrixNormalExports.cpp:38:10: note: 'ldSigmaR' was declared here
   38 |   double ldSigmaR, ldSigmaC;
      |          ^~~~~~~~
In member function 'double mniw::MatrixNormal::LogDens(const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&, const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double)',
    inlined from 'Eigen::VectorXd LogDensityMatrixNormal(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd)' at MatrixNormalExports.cpp:61:34:
../inst/include/mniw/MatrixNormal.h:119:57: warning: 'ldSigmaC' may be used uninitialized [-Wmaybe-uninitialized]
  119 |     return -(.5 * Z_.squaredNorm() + q_ * ldSigmaR + p_ * ldSigmaC + p_*q_ * M_LN_SQRT_2PI);
      |                                                      ~~~^~~~~~~~~~
MatrixNormalExports.cpp: In function 'Eigen::VectorXd LogDensityMatrixNormal(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd)':
MatrixNormalExports.cpp:38:20: note: 'ldSigmaC' was declared here
   38 |   double ldSigmaR, ldSigmaC;
      |                    ^~~~~~~~
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   -I"../inst/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  -DR_NO_REMAP -c MatrixTExports.cpp -o MatrixTExports.o
In file included from ../inst/include/mniw/MatrixT.h:11,
                 from MatrixTExports.cpp:8:
../inst/include/mniw/Wishart.h:50:3: warning: multi-line comment [-Wcomment]
   50 |   ///     \stackrel{\mathrm{iid}}{\sim} \mathcal N(0,1) & i < j \\
      |   ^
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   -I"../inst/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  -DR_NO_REMAP -c MultiNormalExports.cpp -o MultiNormalExports.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   -I"../inst/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  -DR_NO_REMAP -c RandomEffectsExports.cpp -o RandomEffectsExports.o
RandomEffectsExports.cpp:19:1: warning: multi-line comment [-Wcomment]
   19 | /// \boldsymbol{\mu} & \sim \mathcal N(\boldsymbol{\lambda}, \boldsymbol{\Sigma}) \\
      | ^
In file included from MultiNormalExports.cpp:9:
In member function 'double mniw::MultiNormal::LogDens(const Eigen::Ref<const Eigen::Matrix<double, -1, 1> >&, const Eigen::Ref<const Eigen::Matrix<double, -1, 1> >&, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double)',
    inlined from 'Eigen::VectorXd LogDensityMultivariateNormal(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd)' at MultiNormalExports.cpp:50:32:
../inst/include/mniw/MultiNormal.h:73:36: warning: 'ldV' may be used uninitialized [-Wmaybe-uninitialized]
   73 |     return -(.5 * z_.squaredNorm() + ldSigma + q_ * M_LN_SQRT_2PI);
      |              ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
MultiNormalExports.cpp: In function 'Eigen::VectorXd LogDensityMultivariateNormal(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd)':
MultiNormalExports.cpp:36:10: note: 'ldV' was declared here
   36 |   double ldV;
      |          ^~~
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   -I"../inst/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  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
MatrixTExports.cpp: In function 'Eigen::VectorXd LogDensityMatrixT(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd, Eigen::VectorXd)':
MatrixTExports.cpp:69:31: warning: 'ldSigmaR' may be used uninitialized [-Wmaybe-uninitialized]
   69 |     logDens(ii) = matT.LogDens(X.block(0,q*ii*(!singleX),p,q),
      |                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                Lambda.block(0,q*ii*(!singleLambda),p,q),
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |                                SigmaR.block(0,p*ii*(!singleSigmaR),p,p),
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                cholSigmaR, ldSigmaR,
      |                                ~~~~~~~~~~~~~~~~~~~~~
   73 |                                SigmaC.block(0,q*ii*(!singleSigmaC),q,q),
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   74 |                                cholSigmaC, ldSigmaC,
      |                                ~~~~~~~~~~~~~~~~~~~~~
   75 |                                nu(ii*(!singleNu)));
      |                                ~~~~~~~~~~~~~~~~~~~
MatrixTExports.cpp:41:10: note: 'ldSigmaR' was declared here
   41 |   double ldSigmaR, ldSigmaC;
      |          ^~~~~~~~
MatrixTExports.cpp:69:31: warning: 'ldSigmaC' may be used uninitialized [-Wmaybe-uninitialized]
   69 |     logDens(ii) = matT.LogDens(X.block(0,q*ii*(!singleX),p,q),
      |                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                Lambda.block(0,q*ii*(!singleLambda),p,q),
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |                                SigmaR.block(0,p*ii*(!singleSigmaR),p,p),
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                cholSigmaR, ldSigmaR,
      |                                ~~~~~~~~~~~~~~~~~~~~~
   73 |                                SigmaC.block(0,q*ii*(!singleSigmaC),q,q),
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   74 |                                cholSigmaC, ldSigmaC,
      |                                ~~~~~~~~~~~~~~~~~~~~~
   75 |                                nu(ii*(!singleNu)));
      |                                ~~~~~~~~~~~~~~~~~~~
MatrixTExports.cpp:41:20: note: 'ldSigmaC' was declared here
   41 |   double ldSigmaR, ldSigmaC;
      |                    ^~~~~~~~
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   -I"../inst/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  -DR_NO_REMAP -c WishartExports.cpp -o WishartExports.o
In file included from WishartExports.cpp:10:
../inst/include/mniw/Wishart.h:50:3: warning: multi-line comment [-Wcomment]
   50 |   ///     \stackrel{\mathrm{iid}}{\sim} \mathcal N(0,1) & i < j \\
      |   ^
In member function 'double mniw::Wishart::LogDens(const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double, const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double, double, bool)',
    inlined from 'Eigen::VectorXd LogDensityWishart(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::VectorXd, bool)' at WishartExports.cpp:60:31:
../inst/include/mniw/Wishart.h:154:26: warning: 'ldX' may be used uninitialized [-Wmaybe-uninitialized]
  154 |       ldens = -(nu+q_+1) * ldX + nu * ldPsi;
      |               ~~~~~~~~~~~^~~~~
WishartExports.cpp: In function 'Eigen::VectorXd LogDensityWishart(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::VectorXd, bool)':
WishartExports.cpp:39:10: note: 'ldX' was declared here
   39 |   double ldX;
      |          ^~~
In member function 'double mniw::Wishart::LogDens(const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double, const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&, Eigen::LLT<Eigen::Matrix<double, -1, -1>, 1>&, double, double, bool)',
    inlined from 'Eigen::VectorXd LogDensityWishart(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::VectorXd, bool)' at WishartExports.cpp:60:31:
../inst/include/mniw/Wishart.h:154:37: warning: 'ldPsi' may be used uninitialized [-Wmaybe-uninitialized]
  154 |       ldens = -(nu+q_+1) * ldX + nu * ldPsi;
      |                                  ~~~^~~~~~~
WishartExports.cpp: In function 'Eigen::VectorXd LogDensityWishart(Eigen::MatrixXd, Eigen::MatrixXd, Eigen::VectorXd, bool)':
WishartExports.cpp:38:10: note: 'ldPsi' was declared here
   38 |   double ldPsi;
      |          ^~~~~
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o mniw.so CrossProductExports.o HierarchicalExports.o MatrixNIWExports.o MatrixNormalExports.o MatrixTExports.o MultiNormalExports.o RandomEffectsExports.o RcppExports.o WishartExports.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/mniw/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/mniw/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/mniw/src'
installing to /data/gannet/ripley/R/packages/tests-devel/mniw.Rcheck/00LOCK-mniw/00new/mniw/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 (mniw)