* installing *source* package 'changepoint' ...
** package 'changepoint' 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_21_01_50_00_28815/Rtmp6vMskh/R.INSTALLd8182cd12a56/changepoint/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 BinSeg_one_func_minseglen.c -o BinSeg_one_func_minseglen.o
BinSeg_one_func_minseglen.c: In function 'binseg':
BinSeg_one_func_minseglen.c:98:19: warning: 'costfunction' may be used uninitialized [-Wmaybe-uninitialized]
   98 |     null = (-0.5)*costfunction(*(sumstat+end)-*(sumstat+st-1),*(sumstat + *n + 1 +end)-*(sumstat + *n + st),*(sumstat + *n + *n + 2 +end)-*(sumstat + *n + *n + 1 +st), end - st + 1, *shape);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BinSeg_one_func_minseglen.c:49:12: note: 'costfunction' was declared here
   49 |   double (*costfunction)(double, double, double, int, double);
      |            ^~~~~~~~~~~~
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 C_cptreg.c -o C_cptreg.o
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 PELT_one_func_minseglen.c -o PELT_one_func_minseglen.o
PELT_one_func_minseglen.c: In function 'PELTC':
PELT_one_func_minseglen.c:159:25: warning: 'costfunction' may be used uninitialized [-Wmaybe-uninitialized]
  159 |     lastchangelike[j] = costfunction(*(sumstat+j),*(sumstat + *n + 1 + j),*(sumstat + *n + *n + 2 + j),j, *shape);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PELT_one_func_minseglen.c:48:12: note: 'costfunction' was declared here
   48 |   double (*costfunction)(double, double, double, int, double);
      |            ^~~~~~~~~~~~
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 changepoint_init.c -o changepoint_init.o
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 cost_general_functions.c -o cost_general_functions.o
gcc -shared -s -static-libgcc -o changepoint.dll tmp.def BinSeg_one_func_minseglen.o C_cptreg.o PELT_one_func_minseglen.o changepoint_init.o cost_general_functions.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -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_21_01_50_00_28815/Rtmp6vMskh/R.INSTALLd8182cd12a56/changepoint/src'
make[1]: Entering directory '/d/temp/2024_11_21_01_50_00_28815/Rtmp6vMskh/R.INSTALLd8182cd12a56/changepoint/src'
make[1]: Leaving directory '/d/temp/2024_11_21_01_50_00_28815/Rtmp6vMskh/R.INSTALLd8182cd12a56/changepoint/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-changepoint/00new/changepoint/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for 'acf' in package 'changepoint'
** 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 'changepoint' as changepoint_2.3.zip
* DONE (changepoint)