* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘pbatR’ ...
** this is package ‘pbatR’ version ‘2.2-17’
** package ‘pbatR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 21.1.5 (1)’
using C++ compiler: ‘Debian clang version 21.1.5 (1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpAYr7BR/R.INSTALL242d5a5d134e78/pbatR/src'
clang++-21 -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 -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c data.cpp -o data.o
clang++-21 -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 -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c fbatDist.cpp -o fbatDist.o
clang++-21 -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 -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -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-21 -std=gnu23 -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++-21 -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 -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -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++-21 -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 -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c random.cpp -o random.o
clang++-21 -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 -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c sh2win.cpp -o sh2win.o
clang++-21 -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 -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -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++-21 -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 '/home/hornik/tmp/scratch/RtmpAYr7BR/R.INSTALL242d5a5d134e78/pbatR/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpAYr7BR/R.INSTALL242d5a5d134e78/pbatR/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpAYr7BR/R.INSTALL242d5a5d134e78/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)