* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘flan’ ...
** this is package ‘flan’ version ‘1.0’
** package ‘flan’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-16 (Debian 16.1.0-1) 16.1.0’
using C++ compiler: ‘g++-16 (Debian 16.1.0-1) 16.1.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMgjy0b/R.INSTALL308b2d63f0b9a0/flan/src'
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I. -I../inst/include -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c FLAN_Clone.cpp -o FLAN_Clone.o
In file included from FLAN_Clone.h:25,
from FLAN_Clone.cpp:24:
MATH_Function.h: In member function ‘MATH_Polynom& MATH_Polynom::operator*=(double)’:
MATH_Function.h:159:11: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=]
159 | int i=0;
| ^
FLAN_Clone.cpp: In member function ‘int FLAN_SimClone::splitTimes(double)’:
FLAN_Clone.cpp:150:11: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=]
150 | int i=0;
| ^
FLAN_Clone.cpp:125:9: warning: variable ‘g’ set but not used [-Wunused-but-set-variable=]
125 | int g=0;
| ^
FLAN_Clone.cpp: In member function ‘virtual Rcpp::NumericVector FLAN_DiracClone::computeProbability(int)’:
FLAN_Clone.cpp:660:12: warning: variable ‘sumP’ set but not used [-Wunused-but-set-variable=]
660 | double sumP;
| ^~~~
FLAN_Clone.cpp: In member function ‘virtual Rcpp::List FLAN_DiracClone::computeProbability1DerivativeRho(int)’:
FLAN_Clone.cpp:761:12: warning: variable ‘sumP’ set but not used [-Wunused-but-set-variable=]
761 | double sumP;
| ^~~~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I. -I../inst/include -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c FLAN_MutationModel.cpp -o FLAN_MutationModel.o
In file included from FLAN_Clone.h:25,
from FLAN_MutationModel.h:26,
from FLAN_MutationModel.cpp:22:
MATH_Function.h: In member function ‘MATH_Polynom& MATH_Polynom::operator*=(double)’:
MATH_Function.h:159:11: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=]
159 | int i=0;
| ^
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I. -I../inst/include -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c FLAN_Sim.cpp -o FLAN_Sim.o
In file included from FLAN_Clone.h:25,
from FLAN_Sim.h:28,
from FLAN_Sim.cpp:23:
MATH_Function.h: In member function ‘MATH_Polynom& MATH_Polynom::operator*=(double)’:
MATH_Function.h:159:11: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=]
159 | int i=0;
| ^
FLAN_Sim.cpp: In member function ‘Rcpp::NumericVector FLAN_Sim::computeSampleMutantsNumber(int)’:
FLAN_Sim.cpp:95:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=]
95 | int i=0,j;
| ^
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I. -I../inst/include -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c MATH_Function.cpp -o MATH_Function.o
In file included from MATH_Function.cpp:2:
MATH_Function.h: In member function ‘MATH_Polynom& MATH_Polynom::operator*=(double)’:
MATH_Function.h:159:11: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=]
159 | int i=0;
| ^
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I. -I../inst/include -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I. -I../inst/include -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c rcpp_flan_module.cpp -o rcpp_flan_module.o
In file included from FLAN_Clone.h:25,
from FLAN_Sim.h:28,
from rcpp_flan_module.h:4,
from rcpp_flan_module.cpp:1:
MATH_Function.h: In member function ‘MATH_Polynom& MATH_Polynom::operator*=(double)’:
MATH_Function.h:159:11: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=]
159 | int i=0;
| ^
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:47,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from MATH_Function.h:5:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = FLAN_ExponentialClone]’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_<FLAN_ExponentialClone>’
38 | typedef Rcpp::XPtr<Class> XP ;
| ^~
rcpp_flan_module.cpp:42:47: required from here
42 | class_<FLAN_ExponentialClone>("FlanExpClone")
| ^
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type ‘FLAN_ExponentialClone’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
31 | delete obj;
| ^~~~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = FLAN_DiracClone]’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_<FLAN_DiracClone>’
38 | typedef Rcpp::XPtr<Class> XP ;
| ^~
rcpp_flan_module.cpp:50:41: required from here
50 | class_<FLAN_DiracClone>("FlanDirClone")
| ^
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type ‘FLAN_DiracClone’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
31 | delete obj;
| ^~~~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = FLAN_InhomogeneousClone]’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_<FLAN_InhomogeneousClone>’
38 | typedef Rcpp::XPtr<Class> XP ;
| ^~
rcpp_flan_module.cpp:58:49: required from here
58 | class_<FLAN_InhomogeneousClone>("FlanInhClone")
| ^
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type ‘FLAN_InhomogeneousClone’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
31 | delete obj;
| ^~~~~~~~~~
g++-16 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o flan.so FLAN_Clone.o FLAN_MutationModel.o FLAN_Sim.o MATH_Function.o init.o rcpp_flan_module.o -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMgjy0b/R.INSTALL308b2d63f0b9a0/flan/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMgjy0b/R.INSTALL308b2d63f0b9a0/flan/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMgjy0b/R.INSTALL308b2d63f0b9a0/flan/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-flan/00new/flan/libs
** R
** data
*** moving datasets to lazyload DB
** 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 (flan)