* installing *source* package ‘flan’ ...
** package ‘flan’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c FLAN_Clone.cpp -o FLAN_Clone.o
FLAN_Clone.cpp:660:12: warning: variable 'sumP' set but not used [-Wunused-but-set-variable]
    double sumP;
           ^
FLAN_Clone.cpp:761:12: warning: variable 'sumP' set but not used [-Wunused-but-set-variable]
    double sumP;
           ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c FLAN_MutationModel.cpp -o FLAN_MutationModel.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c FLAN_Sim.cpp -o FLAN_Sim.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c MATH_Function.cpp -o MATH_Function.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppGSL/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rcpp_flan_module.cpp -o rcpp_flan_module.o
In file included from rcpp_flan_module.cpp:1:
In file included from ./rcpp_flan_module.h:4:
In file included from ./FLAN_Sim.h:28:
In file included from ./FLAN_Clone.h:25:
In file included from ./MATH_Function.h:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'FLAN_ExponentialClone' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<FLAN_ExponentialClone>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'FLAN_DiracClone' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<FLAN_DiracClone>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'FLAN_InhomogeneousClone' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<FLAN_InhomogeneousClone>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
3 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o flan.so FLAN_Clone.o FLAN_MutationModel.o FLAN_Sim.o MATH_Function.o init.o rcpp_flan_module.o -L/opt/R/arm64/lib -lgsl -lgslcblas -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/flan.Rcheck/00LOCK-flan/00new/flan/libs
** generating debug symbols (dSYM)
** 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)