* installing *source* package 'modelSelection' ...
** this is package 'modelSelection' version '1.0.3'
** package 'modelSelection' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.2.0'
using C++17
make[1]: Entering directory '/d/temp/2025_09_22_14_53_12_12451/RtmpSw5h3X/R.INSTALL50fc26d66749/modelSelection/src'
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c Polynomial.cpp -o Polynomial.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from Polynomial.h:39,
                 from Polynomial.cpp:37:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c PolynomialRootFinder.cpp -o PolynomialRootFinder.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from RcppExports.cpp:4:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c covariancemat.cpp -o covariancemat.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from covariancemat.h:7,
                 from covariancemat.cpp:2:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c crossprodmat.cpp -o crossprodmat.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from crossprodmat.h:7,
                 from crossprodmat.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c cstat.cpp -o cstat.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from cstat.h:11,
                 from cstat.cpp:9:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)' at cstat.cpp:511:46:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)':
cstat.cpp:482:16: note: returned from 'double** dmatrix(int, int, int, int)'
  482 |   xbar= dmatrix(1,nclus,1,p); m2= dmatrix(1,nclus,1,p);
      |         ~~~~~~~^~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)' at cstat.cpp:511:46:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)':
cstat.cpp:482:16: note: returned from 'double** dmatrix(int, int, int, int)'
  482 |   xbar= dmatrix(1,nclus,1,p); m2= dmatrix(1,nclus,1,p);
      |         ~~~~~~~^~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)' at cstat.cpp:511:78:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)':
cstat.cpp:482:42: note: returned from 'double** dmatrix(int, int, int, int)'
  482 |   xbar= dmatrix(1,nclus,1,p); m2= dmatrix(1,nclus,1,p);
      |                                   ~~~~~~~^~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void mahaldist(double*, int, int, double**, bool, double*)' at cstat.cpp:2164:15:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void mahaldist(double*, int, int, double**, bool, double*)':
cstat.cpp:2142:13: note: returned from 'double** dmatrix(int, int, int, int)'
 2142 |   z= dmatrix(1,n,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void mahaldist(double*, int, int, double**, bool, double*)' at cstat.cpp:2164:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void inv_posdef(double**, int, double**, bool*, double**, double**)' at cstat.cpp:3112:37:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)b + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void inv_posdef(double**, int, double**, bool*, double**, double**)':
cstat.cpp:3091:16: note: returned from 'double** dmatrix(int, int, int, int)'
 3091 |     b = dmatrix(1, n, 1, n);
      |         ~~~~~~~^~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void inv_posdef_upper(double**, int, double**, bool*)' at cstat.cpp:3154:17:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void inv_posdef_upper(double**, int, double**, bool*)':
cstat.cpp:3140:16: note: returned from 'double** dmatrix(int, int, int, int)'
 3140 |     b = dmatrix(1, n, 1, n);
      |         ~~~~~~~^~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void invdet_posdef(double**, int, double**, double*)' at cstat.cpp:3190:17:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void invdet_posdef(double**, int, double**, double*)':
cstat.cpp:3168:16: note: returned from 'double** dmatrix(int, int, int, int)'
 3168 |     b = dmatrix(1, n, 1, n);
      |         ~~~~~~~^~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void invdet_posdef(double**, int, double**, double*)' at cstat.cpp:3190:17:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void invdet_posdef(double**, int, double**, double*)':
cstat.cpp:3168:16: note: returned from 'double** dmatrix(int, int, int, int)'
 3168 |     b = dmatrix(1, n, 1, n);
      |         ~~~~~~~^~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:715:17:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)':
cstat.cpp:694:19: note: returned from 'double** dmatrix(int, int, int, int)'
  694 |     Vsum = dmatrix(1, *p, 1, *p);
      |            ~~~~~~~^~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:715:17:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:716:17:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)':
cstat.cpp:695:22: note: returned from 'double** dmatrix(int, int, int, int)'
  695 |     Vsuminv = dmatrix(1, *p, 1, *p);
      |               ~~~~~~~^~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:716:17:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:717:17:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)':
cstat.cpp:696:23: note: returned from 'double** dmatrix(int, int, int, int)'
  696 |     cholVsum = dmatrix(1, *p, 1, *p);
      |                ~~~~~~~^~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:717:17:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void eigenvals(double**, int, double*)' at cstat.cpp:4224:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void eigenvals(double**, int, double*)':
cstat.cpp:4215:13: note: returned from 'double** dmatrix(int, int, int, int)'
 4215 |   b= dmatrix(1,n,1,n);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void eigenvals(double**, int, double*)' at cstat.cpp:4225:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void eigenvals(double**, int, double*)' at cstat.cpp:4224:15:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void eigenvals(double**, int, double*)':
cstat.cpp:4215:13: note: returned from 'double** dmatrix(int, int, int, int)'
 4215 |   b= dmatrix(1,n,1,n);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)' at cstat.cpp:1031:21:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)':
cstat.cpp:1016:25: note: returned from 'double** dmatrix(int, int, int, int)'
 1016 |         cholVb = dmatrix(1, *p, 1, *p);
      |                  ~~~~~~~^~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)' at cstat.cpp:1031:21:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)' at cstat.cpp:1035:17:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)':
cstat.cpp:1004:21: note: returned from 'double** dmatrix(int, int, int, int)'
 1004 |     Vb_inv = dmatrix(1, *p, 1, *p);   //posterior for beta
      |              ~~~~~~~^~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)' at cstat.cpp:1035:17:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)' at cstat.cpp:916:21:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)':
cstat.cpp:902:25: note: returned from 'double** dmatrix(int, int, int, int)'
  902 |         cholVb = dmatrix(1, *p, 1, *p);
      |                  ~~~~~~~^~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)' at cstat.cpp:916:21:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)' at cstat.cpp:920:17:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)':
cstat.cpp:890:21: note: returned from 'double** dmatrix(int, int, int, int)'
  890 |     Vb_inv = dmatrix(1, *p, 1, *p);
      |              ~~~~~~~^~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)' at cstat.cpp:920:17:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rwishartC(double**, int, double**, int, bool)' at cstat.cpp:6886:17:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)cholans + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rwishartC(double**, int, double**, int, bool)' at cstat.cpp:6888:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rwishartC(double**, int, double**, int, bool)':
cstat.cpp:6874:13: note: returned from 'double** dmatrix(int, int, int, int)'
 6874 |   Z= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rwishartC(double**, int, double**, int, bool)' at cstat.cpp:6886:17:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rwishartC(double**, int, double**, int, bool)':
cstat.cpp:6875:60: note: returned from 'double** dmatrix(int, int, int, int)'
 6875 |   if (returnChol) { cholans= ans; } else { cholans= dmatrix(1,p,1,p); }
      |                                                     ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:13: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:40:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:37: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                              ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:68:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:65: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                          ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:100:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:97: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                                                          ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:136:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:118: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                                                                               ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:15:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:13: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:40:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:37: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                              ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:68:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:65: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                          ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:100:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:97: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                                                          ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7395:136:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7382:118: note: returned from 'double** dmatrix(int, int, int, int)'
 7382 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                                                                               ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:7396:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)':
cstat.cpp:7383:13: note: returned from 'double** dmatrix(int, int, int, int)'
 7383 |   D= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:13: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:40:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:37: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                              ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:68:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:65: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                          ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:100:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:97: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                                                          ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:136:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:118: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                                                                               ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:15:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:13: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:40:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:37: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                              ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:68:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:65: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                          ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:100:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:97: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                                                          ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7301:136:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7247:118: note: returned from 'double** dmatrix(int, int, int, int)'
 7247 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                                                                                                               ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:7302:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)':
cstat.cpp:7248:13: note: returned from 'double** dmatrix(int, int, int, int)'
 7248 |   D= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)' at cstat.cpp:6011:38:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)':
cstat.cpp:6007:32: note: returned from 'double** dmatrix(int, int, int, int)'
 6007 |     y= dvector(1,p); S= dmatrix(1,p,1,p); cholS= dmatrix(1,p,1,p);
      |                         ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)' at cstat.cpp:6011:38:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)':
cstat.cpp:6007:32: note: returned from 'double** dmatrix(int, int, int, int)'
 6007 |     y= dvector(1,p); S= dmatrix(1,p,1,p); cholS= dmatrix(1,p,1,p);
      |                         ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)' at cstat.cpp:6011:63:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)':
cstat.cpp:6007:57: note: returned from 'double** dmatrix(int, int, int, int)'
 6007 |     y= dvector(1,p); S= dmatrix(1,p,1,p); cholS= dmatrix(1,p,1,p);
      |                                                  ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)' at cstat.cpp:6028:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
cstat.cpp:6021:13: note: returned from 'double** dmatrix(int, int, int, int)'
 6021 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)' at cstat.cpp:6034:15:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
cstat.cpp:6021:37: note: returned from 'double** dmatrix(int, int, int, int)'
 6021 |   S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p);
      |                              ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)' at cstat.cpp:6034:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)' at cstat.cpp:5728:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)':
cstat.cpp:5705:13: note: returned from 'double** dmatrix(int, int, int, int)'
 5705 |   D= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)' at cstat.cpp:5728:15:
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)':
cstat.cpp:5705:13: note: returned from 'double** dmatrix(int, int, int, int)'
 5705 |   D= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)' at cstat.cpp:5728:40:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)':
cstat.cpp:5705:34: note: returned from 'double** dmatrix(int, int, int, int)'
 5705 |   D= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p);
      |                           ~~~~~~~^~~~~~~~~
In function 'void free_dmatrix(double**, int, int, int, int)',
    inlined from 'SEXPREC* rtmvnormCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)' at cstat.cpp:5747:15:
cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)<unknown> + <unknown> *8)' with nonzero offset 8 [-Wfree-nonheap-object]
 1388 |             free((char *) (m[i]+ncl));
      |             ~~~~^~~~~~~~~~~~~~~~~~~~~
cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '<unknown>' with nonzero offset 8 [-Wfree-nonheap-object]
 1392 |         free((char *) (m+nrl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'SEXPREC* rtmvnormCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
cstat.cpp:5738:13: note: returned from 'double** dmatrix(int, int, int, int)'
 5738 |   S= dmatrix(1,p,1,p);
      |      ~~~~~~~^~~~~~~~~
In function 'void free_dvector(double*, int, int)',
    inlined from 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)' at cstat.cpp:10405:17:
cstat.cpp:1356:13: warning: 'void free(void*)' called on pointer 'xicom' with nonzero offset 8 [-Wfree-nonheap-object]
 1356 |         free((char  *) (v+nl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)':
cstat.cpp:10337:9: note: declared here
10337 | double *xicom;
      |         ^~~~~
In function 'void free_dvector(double*, int, int)',
    inlined from 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)' at cstat.cpp:10406:17:
cstat.cpp:1356:13: warning: 'void free(void*)' called on pointer 'pcom' with nonzero offset 8 [-Wfree-nonheap-object]
 1356 |         free((char  *) (v+nl));
      |         ~~~~^~~~~~~~~~~~~~~~~~
cstat.cpp: In function 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)':
cstat.cpp:10336:9: note: declared here
10336 | double *pcom;
      |         ^~~~
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c ggm.cpp -o ggm.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from ggm.h:9,
                 from ggm.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
ggm.cpp: In function 'void GGMrow_marg_regression(double*, arma::mat*, arma::mat*, arma::mat*, arma::SpMat<short int>*, unsigned int, ggmObject*, arma::mat*, arma::mat*, arma::SpMat<short int>*)':
ggm.cpp:2228:42: warning: 'XtX_newcol' may be used uninitialized [-Wmaybe-uninitialized]
 2228 |         if (row_added != -1) free_dvector(XtX_newcol, 0, cholXtXinv.n_cols);
      |                              ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggm.cpp:2192:15: note: 'XtX_newcol' was declared here
 2192 |       double *XtX_newcol;
      |               ^~~~~~~~~~
ggm.cpp: In function 'void GGMrow_marg(double*, arma::mat*, arma::mat*, arma::mat*, arma::SpMat<short int>*, unsigned int, ggmObject*, arma::mat*, arma::mat*, arma::SpMat<short int>*)':
ggm.cpp:2062:42: warning: 'U_newcol' may be used uninitialized [-Wmaybe-uninitialized]
 2062 |         if (row_added != -1) free_dvector(U_newcol, 0, cholUinv->n_cols);
      |                              ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggm.cpp:2024:15: note: 'U_newcol' was declared here
 2024 |       double *U_newcol;
      |               ^~~~~~~~
ggm.cpp: In function 'void unique_model_logprob(arma::SpMat<short int>*, std::vector<double>*, std::map<std::__cxx11::basic_string<char>, double>*, arma::SpMat<short int>*, arma::mat*, double*, double*)':
ggm.cpp:1291:35: warning: 'logmaxratio' may be used uninitialized [-Wmaybe-uninitialized]
 1291 |       (*unique_logprob)[i]= max_xy(modelids_logprob[idx] - maxprob, - logmaxratio); //truncate probabilities according to maxratio
      |                             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggm.cpp:1247:30: note: 'logmaxratio' was declared here
 1247 |   double maxprob= -INFINITY, logmaxratio;
      |                              ^~~~~~~~~~~
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c glm.cpp -o glm.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from glm.h:4,
                 from glm.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c marginalLikelihood.cpp -o marginalLikelihood.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from marginalLikelihood.cpp:2:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c mixtures.cpp -o mixtures.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from cstat.h:11,
                 from mixtures.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c modelSel_regression.cpp -o modelSel_regression.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from modelSel_regression.cpp:2:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c modselFunction.cpp -o modselFunction.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from modselFunction.h:4,
                 from modselFunction.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
modselFunction.cpp: In member function 'double modselFunction::laplaceapprox(double*, double*, double**, double**, bool, std::map<std::__cxx11::basic_string<char>, double*>*)':
modselFunction.cpp:737:33: warning: 'mycholH' may be used uninitialized [-Wmaybe-uninitialized]
  737 |   if (cholH== NULL) free_dmatrix(mycholH, 1,this->thlength,1,this->thlength);
      |                     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modselFunction.cpp:709:26: note: 'mycholH' was declared here
  709 |   double ans, logdetH, **mycholH;
      |                          ^~~~~~~
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c modselIntegrals.cpp -o modselIntegrals.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from modselIntegrals.h:4,
                 from modselIntegrals.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp  -DARMA_USE_CURRENT   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c survival.cpp -o survival.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
                 from survival.h:5,
                 from survival.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++ -shared -s -static-libgcc -o modelSelection.dll tmp.def Polynomial.o PolynomialRootFinder.o RcppExports.o covariancemat.o crossprodmat.o cstat.o ggm.o glm.o marginalLikelihood.o mixtures.o modelSel_regression.o modselFunction.o modselIntegrals.o survival.o -fopenmp -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_09_22_14_53_12_12451/RtmpSw5h3X/R.INSTALL50fc26d66749/modelSelection/src'
make[1]: Entering directory '/d/temp/2025_09_22_14_53_12_12451/RtmpSw5h3X/R.INSTALL50fc26d66749/modelSelection/src'
make[1]: Leaving directory '/d/temp/2025_09_22_14_53_12_12451/RtmpSw5h3X/R.INSTALL50fc26d66749/modelSelection/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-modelSelection/00new/modelSelection/libs/x64
** R
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'modelSelection' as modelSelection_1.0.3.zip
* DONE (modelSelection)