* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘fwsim’ ...
** package ‘fwsim’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMaO1Y4/R.INSTALL1be7562671577/fwsim/src'
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
fwsim_types.h: In static member function ‘static void Individual::cleanup_lineage(Individual*)’:
fwsim_types.h:20:19: warning: unused variable ‘parent’ [-Wunused-variable]
   20 |       Individual* parent = node->get_parent();
      |                   ^~~~~~
fwsim_types.h: In constructor ‘SimulatedGenealogy::SimulatedGenealogy(std::vector<Individual*>, std::vector<Individual*>)’:
fwsim_types.h:144:34: warning: comparison of integer expressions of different signedness: ‘std::vector<Individual*>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  144 |       if (init_population.size() != m_pop_size) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c fwpopsim.cpp -o fwpopsim.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c fwpopsim_fixed.cpp -o fwpopsim_fixed.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mutationmodels.cpp -o mutationmodels.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c print.cpp -o print.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c proto.cpp -o proto.o
In file included from proto.cpp:2:
fwsim_types.h: In static member function ‘static void Individual::cleanup_lineage(Individual*)’:
fwsim_types.h:20:19: warning: unused variable ‘parent’ [-Wunused-variable]
   20 |       Individual* parent = node->get_parent();
      |                   ^~~~~~
fwsim_types.h: In constructor ‘SimulatedGenealogy::SimulatedGenealogy(std::vector<Individual*>, std::vector<Individual*>)’:
fwsim_types.h:144:34: warning: comparison of integer expressions of different signedness: ‘std::vector<Individual*>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  144 |       if (init_population.size() != m_pop_size) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
proto.cpp: In function ‘void genealogy_to_dot_draw_node(Individual*, std::ostringstream&, std::vector<int>&)’:
proto.cpp:81:14: warning: unused variable ‘nullcount’ [-Wunused-variable]
   81 |   static int nullcount = 0;
      |              ^~~~~~~~~
g++-14 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o fwsim.so RcppExports.o fwpopsim.o fwpopsim_fixed.o mutationmodels.o print.o proto.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMaO1Y4/R.INSTALL1be7562671577/fwsim/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMaO1Y4/R.INSTALL1be7562671577/fwsim/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMaO1Y4/R.INSTALL1be7562671577/fwsim/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-fwsim/00new/fwsim/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘fwsim’
    finding HTML links ... done
    fwsim-package                           html  
    fwsim                                   html  
    init_mutmodel                           html  
    mutmodel                                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 (fwsim)