* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘changepoint’ ...
** package ‘changepoint’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/tmp/RtmpFGHLlf/R.INSTALL390a223cb54f87/changepoint/src'
gcc-13 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-13 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-13 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c changepoint_init.c -o changepoint_init.o
gcc-13 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c cost_general_functions.c -o cost_general_functions.o
gcc-13 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o changepoint.so BinSeg_one_func_minseglen.o PELT_one_func_minseglen.o changepoint_init.o cost_general_functions.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpFGHLlf/R.INSTALL390a223cb54f87/changepoint/src'
make[1]: Entering directory '/tmp/RtmpFGHLlf/R.INSTALL390a223cb54f87/changepoint/src'
make[1]: Leaving directory '/tmp/RtmpFGHLlf/R.INSTALL390a223cb54f87/changepoint/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-changepoint/00new/changepoint/libs
** 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
  converting help for package ‘changepoint’
    finding HTML links ... done
    BINSEG                                  html  
    HC1                                     html  
    Lai2005fig3                             html  
    Lai2005fig4                             html  
    PELT                                    html  
    changepoint-package                     html  
    class_input                             html  
    coef-methods                            html  
    cpt-class                               html  
    cpt.mean                                html  
    cpt.meanvar                             html  
    cpt.range-class                         html  
    cpt.reg-class                           html  
    cpt.var                                 html  
    cpts--methods                           html  
    cpts-                                   html  
    cpts-methods                            html  
    cpts                                    html  
    cpts.full--methods                      html  
    cpts.full-                              html  
    cpts.full-methods                       html  
    cpts.full                               html  
    cpts.ts-methods                         html  
    cpts.ts                                 html  
    cpttype--methods                        html  
    cpttype-                                html  
    cpttype-methods                         html  
    cpttype                                 html  
    data.set--methods                       html  
    data.set-                               html  
    data.set-methods                        html  
    data.set                                html  
    data.set.ts-methods                     html  
    data.set.ts                             html  
    decision                                html  
    distribution--methods                   html  
    distribution-                           html  
    distribution-methods                    html  
    distribution                            html  
    ftse100                                 html  
    likelihood-methods                      html  
    likelihood                              html  
    logLik-methods                          html  
    method--methods                         html  
    method-                                 html  
    method-methods                          html  
    method                                  html  
    minseglen--methods                      html  
    minseglen-                              html  
    minseglen-methods                       html  
    minseglen                               html  
    ncpts-methods                           html  
    ncpts                                   html  
    ncpts.max--methods                      html  
    ncpts.max-                              html  
    ncpts.max-methods                       html  
    ncpts.max                               html  
    nseg-methods                            html  
    nseg                                    html  
    param-methods                           html  
    param                                   html  
    param.est--methods                      html  
    param.est-                              html  
    param.est-methods                       html  
    param.est                               html  
    pen.type--methods                       html  
    pen.type-                               html  
    pen.type-methods                        html  
    pen.type                                html  
    pen.value--methods                      html  
    pen.value-                              html  
    pen.value-methods                       html  
    pen.value                               html  
    pen.value.full--methods                 html  
    pen.value.full-                         html  
    pen.value.full-methods                  html  
    pen.value.full                          html  
    penalty_decision                        html  
    plot-methods                            html  
    seg.len-methods                         html  
    seg.len                                 html  
    show-methods                            html  
    summary-methods                         html  
    test.stat--methods                      html  
    test.stat-                              html  
    test.stat-methods                       html  
    test.stat                               html  
    wave.c44137                             html  
** 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 (changepoint)