* installing *source* package 'HDCD' ...
** package 'HDCD' 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_18_01_50_00_1577/Rtmpqg66Ru/R.INSTALLc34c41885e/HDCD/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 esac_code.c -o esac_code.o
esac_code.c: In function 'internal_check_segment':
esac_code.c:92:9: warning: unused variable 'tmppos' [-Wunused-variable]
   92 |     int tmppos = 0;
      |         ^~~~~~
esac_code.c: In function 'cESAC':
esac_code.c:852:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
  852 |     int minlen = n;
      |         ^~~~~~
esac_code.c: In function 'cESAC_calibrate':
esac_code.c:1091:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
 1091 |     int minlen = n;
      |         ^~~~~~
esac_code.c: In function 'cESAC_single':
esac_code.c:1536:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
 1536 |     int minlen = n;
      |         ^~~~~~
esac_code.c:1535:9: warning: variable 'maxlen' set but not used [-Wunused-but-set-variable]
 1535 |     int maxlen = p;
      |         ^~~~~~
esac_code.c: In function 'cESAC_test':
esac_code.c:1653:9: warning: unused variable 'localdetected' [-Wunused-variable]
 1653 |     int localdetected = 0;
      |         ^~~~~~~~~~~~~
esac_code.c:1645:9: warning: unused variable 'tmpapos' [-Wunused-variable]
 1645 |     int tmpapos = 0;
      |         ^~~~~~~
esac_code.c:1644:9: warning: unused variable 'tmppos' [-Wunused-variable]
 1644 |     int tmppos = 0;
      |         ^~~~~~
esac_code.c:1643:12: warning: unused variable 'tmpmax' [-Wunused-variable]
 1643 |     double tmpmax = 0;
      |            ^~~~~~
esac_code.c:1607:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
 1607 |     int minlen = n;
      |         ^~~~~~
esac_code.c:1602:9: warning: unused variable 'debug' [-Wunused-variable]
 1602 |     int debug = *INTEGER(debugI);
      |         ^~~~~
esac_code.c: In function 'cESAC_test_calibrate':
esac_code.c:1878:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
 1878 |     int minlen = n;
      |         ^~~~~~
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 helpfunctions.c -o helpfunctions.o
helpfunctions.c: In function 'singleCUSUM':
helpfunctions.c:296:9: warning: unused variable 'n' [-Wunused-variable]
  296 |     int n = e-s;
      |         ^
helpfunctions.c: In function 'rescale_variance_R':
helpfunctions.c:493:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
  493 |     int minlen = n;
      |         ^~~~~~
helpfunctions.c:488:9: warning: unused variable 'debug' [-Wunused-variable]
  488 |     int debug = *INTEGER(debugI);
      |         ^~~~~
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 inspect_code.c -o inspect_code.o
inspect_code.c: In function 'cInspect_single':
inspect_code.c:530:12: warning: unused variable 'xi' [-Wunused-variable]
  530 |     double xi = *(REAL(xiI));
      |            ^~
inspect_code.c: In function 'cInspect_test_calibrate':
inspect_code.c:1149:9: warning: unused variable 'hh' [-Wunused-variable]
 1149 |     int hh;
      |         ^~
inspect_code.c:1148:9: warning: unused variable 'll' [-Wunused-variable]
 1148 |     int ll;
      |         ^~
inspect_code.c:1145:9: warning: unused variable 'e' [-Wunused-variable]
 1145 |     int e = n-1;
      |         ^
inspect_code.c:1144:9: warning: unused variable 's' [-Wunused-variable]
 1144 |     int s = -1;
      |         ^
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 pilliat_method.c -o pilliat_method.o
pilliat_method.c: In function 'cPilliat_call':
pilliat_method.c:271:9: warning: unused variable 't2' [-Wunused-variable]
  271 |     int t2 = 0;
      |         ^~
pilliat_method.c:270:9: warning: unused variable 't1' [-Wunused-variable]
  270 |     int t1 = 0;
      |         ^~
pilliat_method.c:266:9: warning: unused variable 'stop' [-Wunused-variable]
  266 |     int stop = 0;
      |         ^~~~
pilliat_method.c:263:9: warning: variable 'jump' set but not used [-Wunused-but-set-variable]
  263 |     int jump = 0;
      |         ^~~~
pilliat_method.c:262:9: warning: unused variable 'jj' [-Wunused-variable]
  262 |     int jj=0;
      |         ^~
pilliat_method.c: In function 'cPilliat_calibrate':
pilliat_method.c:908:9: warning: unused variable 'stop' [-Wunused-variable]
  908 |     int stop;
      |         ^~~~
pilliat_method.c:896:9: warning: unused variable 'jj' [-Wunused-variable]
  896 |     int jj;
      |         ^~
pilliat_method.c: In function 'cPilliat_test':
pilliat_method.c:1378:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
 1378 |     int minlen = n;
      |         ^~~~~~
pilliat_method.c: In function 'cPilliat_test_calibrate':
pilliat_method.c:1628:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
 1628 |     int minlen = n;
      |         ^~~~~~
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 registerDynamicSymbol.c -o registerDynamicSymbol.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 sbs_single.c -o sbs_single.o
sbs_single.c: In function 'cSBS_single':
sbs_single.c:32:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
   32 |     int minlen = n;
      |         ^~~~~~
sbs_single.c: In function 'cSBS_single_calibrate':
sbs_single.c:197:12: warning: unused variable 'tmp' [-Wunused-variable]
  197 |     double tmp = 0;
      |            ^~~
sbs_single.c:172:9: warning: variable 'minlen' set but not used [-Wunused-but-set-variable]
  172 |     int minlen = n;
      |         ^~~~~~
sbs_single.c:151:9: warning: unused variable 'debug' [-Wunused-variable]
  151 |     int debug = *INTEGER(debugI);
      |         ^~~~~
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 sorting.c -o sorting.o
gcc -shared -s -static-libgcc -o HDCD.dll tmp.def esac_code.o helpfunctions.o inspect_code.o pilliat_method.o registerDynamicSymbol.o sbs_single.o sorting.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_18_01_50_00_1577/Rtmpqg66Ru/R.INSTALLc34c41885e/HDCD/src'
make[1]: Entering directory '/d/temp/2024_11_18_01_50_00_1577/Rtmpqg66Ru/R.INSTALLc34c41885e/HDCD/src'
make[1]: Leaving directory '/d/temp/2024_11_18_01_50_00_1577/Rtmpqg66Ru/R.INSTALLc34c41885e/HDCD/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-HDCD/00new/HDCD/libs/x64
** R
** 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
** 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 'HDCD' as HDCD_1.1.zip
* DONE (HDCD)