* installing *source* package 'CPoptim' ...
** package 'CPoptim' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_11_13_01_50_00_32639/RtmpWAMrk1/R.INSTALL1594c19d6972/CPoptim/src'
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c CPoptim.c -o CPoptim.o
CPoptim.c: In function 'CPoptim':
CPoptim.c:200:17: warning: variable 'autre' set but not used [-Wunused-but-set-variable]
  200 |     int memSize,autre;
      |                 ^~~~~
CPoptim.c:227:15: warning: 'selPart' may be used uninitialized [-Wmaybe-uninitialized]
  227 |             if(ID[i]==selPart)
      |               ^
CPoptim.c:187:9: note: 'selPart' was declared here
  187 |     int selPart,lenSubID;
      |         ^~~~~~~
CPoptim.c:313:31: warning: 'bestX' may be used uninitialized [-Wmaybe-uninitialized]
  313 |         minX[curPart][bestDim]=bestX;
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
CPoptim.c:198:12: note: 'bestX' was declared here
  198 |     double bestX;
      |            ^~~~~
CPoptim.c:313:31: warning: 'bestDim' may be used uninitialized [-Wmaybe-uninitialized]
  313 |         minX[curPart][bestDim]=bestX;
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
CPoptim.c:199:9: note: 'bestDim' was declared here
  199 |     int bestDim;
      |         ^~~~~~~
CPoptim.c:339:15: warning: 'memSize' may be used uninitialized [-Wmaybe-uninitialized]
  339 |             if(i<memSize)
      |               ^
CPoptim.c:200:9: note: 'memSize' was declared here
  200 |     int memSize,autre;
      |         ^~~~~~~
CPoptim.c:323:23: warning: 'bestMu[0]' may be used uninitialized [-Wmaybe-uninitialized]
  323 |         hatMu[selPart]=bestMu[0];
      |         ~~~~~~~~~~~~~~^~~~~~~~~~
CPoptim.c:196:12: note: 'bestMu[0]' was declared here
  196 |     double bestMu[2];
      |            ^~~~~~
CPoptim.c:324:23: warning: 'bestMu[1]' may be used uninitialized [-Wmaybe-uninitialized]
  324 |         hatMu[curPart]=bestMu[1];
      |         ~~~~~~~~~~~~~~^~~~~~~~~~
CPoptim.c:196:12: note: 'bestMu[1]' was declared here
  196 |     double bestMu[2];
      |            ^~~~~~
CPoptim.c:364:42: warning: 'bestP[0]' may be used uninitialized [-Wmaybe-uninitialized]
  364 |         aPriori[selPart]=aPriori[selPart]*bestP[0];
      |                          ~~~~~~~~~~~~~~~~^~~~~~~~~
CPoptim.c:197:12: note: 'bestP[0]' was declared here
  197 |     double bestP[2];
      |            ^~~~~
CPoptim.c:363:42: warning: 'bestP[1]' may be used uninitialized [-Wmaybe-uninitialized]
  363 |         aPriori[curPart]=aPriori[selPart]*bestP[1];
      |                          ~~~~~~~~~~~~~~~~^~~~~~~~~
CPoptim.c:197:12: note: 'bestP[1]' was declared here
  197 |     double bestP[2];
      |            ^~~~~
gcc -shared -s -static-libgcc -o CPoptim.dll tmp.def CPoptim.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_11_13_01_50_00_32639/RtmpWAMrk1/R.INSTALL1594c19d6972/CPoptim/src'
make[1]: Entering directory '/d/temp/2024_11_13_01_50_00_32639/RtmpWAMrk1/R.INSTALL1594c19d6972/CPoptim/src'
make[1]: Leaving directory '/d/temp/2024_11_13_01_50_00_32639/RtmpWAMrk1/R.INSTALL1594c19d6972/CPoptim/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-CPoptim/00new/CPoptim/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 'CPoptim' as CPoptim_0.1.0.zip
* DONE (CPoptim)