* installing *source* package ‘MedianaDesigner’ ...
** package ‘MedianaDesigner’ 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/MedianaDesigner/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'/data/gannet/ripley/R/test-dev/RcppNumerical/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  -DR_NO_REMAP -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'/data/gannet/ripley/R/test-dev/RcppNumerical/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  -DR_NO_REMAP -c md.cpp -o md.o
In file included from md.cpp:11:
meddist.h: In function 'std::vector<double> MVNormalRho(const int&, const std::vector<double>&, const std::vector<double>&, const double&)':
meddist.h:249:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
  249 |     for(unsigned i = 0; i < m; i++){
      |                         ~~^~~
meddist.h:250:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
  250 |         for(unsigned j = 0; j < m; j++){
      |                             ~~^~~
md.cpp: In function 'MeanSD ComputeMeanSD(const std::vector<double>&)':
md.cpp:87:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   87 |     for (i = 0; i<Sn ; ++i)
      |                 ~^~~
md.cpp: In function 'Rcpp::List ClustRandGEEC(const Rcpp::List&)':
md.cpp:3893:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 3893 |             for (i = 0; i < control_cluster_size_arg.size(); i++) control_cluster_size.push_back(control_cluster_size_arg[i]);
      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
md.cpp:3955:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 3955 |                     for (i = 0; i < treatment_cluster_size_vector.size(); i++) treatment_cluster_size.push_back(treatment_cluster_size_vector[i]);
      |                                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
md.cpp:4030:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 4030 |             for (i = 0; i < x.size(); i++) {
      |                         ~~^~~~~~~~~~
md.cpp: In function 'double CondPower(const double&, const int&, const int&, const int&, const int&, const double&, const double&)':
md.cpp:182:30: warning: 'effect_size' may be used uninitialized [-Wmaybe-uninitialized]
  182 |     double val = effect_size * sqrt((n_final - n_interim) / 4.0) + test_stat * sqrt(w1 / w2) - z_alpha / sqrt(w2);
      |                  ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
md.cpp:174:12: note: 'effect_size' was declared here
  174 |     double effect_size;
      |            ^~~~~~~~~~~
md.cpp: In function 'Rcpp::List ADSSModC(const Rcpp::List&)':
md.cpp:1299:30: warning: 'trad_outcome' may be used uninitialized [-Wmaybe-uninitialized]
 1299 |         sim_results(sim, 18) = trad_outcome;
      |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
md.cpp:949:38: note: 'trad_outcome' was declared here
  949 |     double stage1_test, stage2_test, trad_outcome, ratio = (double) sample_size[0] / (double(sample_size[0] + sample_size[1])), pvalue1, pvalue2;
      |                                      ^~~~~~~~~~~~
md.cpp: In function 'Rcpp::List ADPopSelC(const Rcpp::List&)':
md.cpp:2150:29: warning: 'futility_flag' may be used uninitialized [-Wmaybe-uninitialized]
 2150 |         sim_results(sim, 5) = futility_flag;
      |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
md.cpp:1736:16: note: 'futility_flag' was declared here
 1736 |     double cp, futility_flag, effect_size_minus, effect_size_plus, hr_minus, hr_plus, temp;
      |                ^~~~~~~~~~~~~
In file included from md.cpp:13:
medmult.h: In function 'std::vector<double> ClosedTestingAdj(const int&, const std::vector<double>&, const std::vector<double>&)':
medmult.h:322:54: warning: 'globalp' may be used uninitialized [-Wmaybe-uninitialized]
  322 |         for (i = 0; i < m; i++) intp(j, i) = globalp * intersection(j, i);
      |                                              ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
medmult.h:287:24: note: 'globalp' was declared here
  287 |     double weight_sum, globalp;
      |                        ^~~~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Core:341,
                 from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Dense:1,
                 from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigenForward.h:28,
                 from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigen.h:25,
                 from /data/gannet/ripley/R/test-dev/RcppNumerical/include/RcppNumerical.h:10,
                 from md.cpp:2:
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function 'static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, -1, false> >; Rhs = Eigen::Transpose<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, 1, true>, -1, 1, false> > > >; Dest = Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, false> >; int Mode = 6]':
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized]
  327 |     internal::triangular_matrix_vector_product
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  328 |       <Index,Mode,
      |       ~~~~~~~~~~~~
  329 |        LhsScalar, LhsBlasTraits::NeedToConjugate,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  330 |        RhsScalar, RhsBlasTraits::NeedToConjugate,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  331 |        RowMajor>
      |        ~~~~~~~~~
  332 |       ::run(actualLhs.rows(),actualLhs.cols(),
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  333 |             actualLhs.data(),actualLhs.outerStride(),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  334 |             actualRhsPtr,1,
      |             ~~~~~~~~~~~~~~~
  335 |             dest.data(),dest.innerStride(),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  336 |             actualAlpha);
      |             ~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type 'const double*' to 'static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 6; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]' declared here
  105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o MedianaDesigner.so RcppExports.o md.o -lz
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MedianaDesigner/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MedianaDesigner/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MedianaDesigner/src'
installing to /data/gannet/ripley/R/packages/tests-devel/MedianaDesigner.Rcheck/00LOCK-MedianaDesigner/00new/MedianaDesigner/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 (MedianaDesigner)