* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘pbatR’ ...
** package ‘pbatR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 18.1.0 (rc4-1)’
using C++ compiler: ‘Debian clang version 18.1.0 (rc4-1)’
make[1]: Entering directory '/tmp/Rtmpxxbigz/R.INSTALL228a9c50ccc304/pbatR/src'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c data.cpp -o data.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c fbatDist.cpp -o fbatDist.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c kludge.cpp -o kludge.o
kludge.cpp:135:5: warning: variable 'index' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
  135 |     index++;
      |     ^
kludge.cpp:125:28: note: incremented here
  125 |   for( index=0; index<len; index++ ) {
      |                            ^
kludge.cpp:16:11: warning: unused variable 'NUMREAD' [-Wunused-const-variable]
   16 | const int NUMREAD = 10;
      |           ^~~~~~~
2 warnings generated.
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c pbatR_init.c -o pbatR_init.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c powerSim.cpp -o powerSim.o
powerSim.cpp:36:11: warning: unused variable 'ASCERTAINMENT_NA' [-Wunused-const-variable]
   36 | const int ASCERTAINMENT_NA = 2;
      |           ^~~~~~~~~~~~~~~~
1 warning generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c random.cpp -o random.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c sh2win.cpp -o sh2win.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c wait.cpp -o wait.o
wait.cpp:88:13: warning: unused variable 'sysRes' [-Wunused-variable]
   88 |         int sysRes = system( cmds[i].c_str() );
      |             ^~~~~~
wait.cpp:82:11: warning: variable 'pid' set but not used [-Wunused-but-set-variable]
   82 |       int pid = -999;
      |           ^
2 warnings generated.
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o pbatR.so data.o fbatDist.o kludge.o pbatR_init.o powerSim.o random.o sh2win.o wait.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmpxxbigz/R.INSTALL228a9c50ccc304/pbatR/src'
make[1]: Entering directory '/tmp/Rtmpxxbigz/R.INSTALL228a9c50ccc304/pbatR/src'
make[1]: Leaving directory '/tmp/Rtmpxxbigz/R.INSTALL228a9c50ccc304/pbatR/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-pbatR/00new/pbatR/libs
** 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
** 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 (pbatR)