* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘PLNmodels’ ...
** this is package ‘PLNmodels’ version ‘1.2.2’
** package ‘PLNmodels’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-16 (Debian 16.1.0-2) 16.1.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpy0tTUu/R.INSTALL28c86a42d88b55/PLNmodels/src'
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c lambertW.cpp -o lambertW.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c nlopt_wrapper.cpp -o nlopt_wrapper.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c optim_diag_cov.cpp -o optim_diag_cov.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c optim_fixed_cov.cpp -o optim_fixed_cov.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c optim_full_cov.cpp -o optim_full_cov.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c optim_genet_cov.cpp -o optim_genet_cov.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c optim_rank_cov.cpp -o optim_rank_cov.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c optim_spherical.cpp -o optim_spherical.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c optim_zi-pln.cpp -o optim_zi-pln.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c packing.cpp -o packing.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo:437,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:51,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
                 from packing.h:7,
                 from packing.cpp:1:
In static member function ‘static void arma::memory::release(eT*) [with eT = const double]’,
    inlined from ‘arma::Mat<eT>::~Mat() [with eT = double]’ at /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:32:20,
    inlined from ‘arma::Mat<eT>::~Mat() [with eT = double]’ at /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:25:1,
    inlined from ‘arma::Col<double>::~Col()’ at /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/Col_bones.hpp:25:7,
    inlined from ‘bool cpp_test_packing()’ at packing.cpp:37:48:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/memory.hpp:125:14: warning: ‘void free(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  125 |     std::free( (void *)(mem) );
      |     ~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/16/bits/c++allocator.h:33,
                 from /usr/include/c++/16/bits/allocator.h:46,
                 from /usr/include/c++/16/bits/alloc_traits.h:39,
                 from /usr/include/c++/16/ext/alloc_traits.h:36,
                 from /usr/include/c++/16/bits/hashtable_policy.h:40,
                 from /usr/include/c++/16/bits/hashtable.h:37,
                 from /usr/include/c++/16/bits/unordered_map.h:33,
                 from /usr/include/c++/16/unordered_map:43,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/platform/compiler.h:39,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:67,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
In member function ‘constexpr _Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = double]’,
    inlined from ‘constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(std::size_t) [with _Tp = double]’ at /usr/include/c++/16/bits/allocator.h:206:40,
    inlined from ‘static constexpr _Tp* std::allocator_traits<std::allocator<_Up> >::allocate(allocator_type&, size_type) [with _Tp = double]’ at /usr/include/c++/16/bits/alloc_traits.h:638:28,
    inlined from ‘constexpr std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:389:33,
    inlined from ‘constexpr void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:407:44,
    inlined from ‘constexpr std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:341:26,
    inlined from ‘constexpr std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:577:47,
    inlined from ‘bool cpp_test_packing()’ at packing.cpp:27:59:
/usr/include/c++/16/bits/new_allocator.h:162:75: note: returned from ‘void* operator new(std::size_t)’
  162 |           return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                                           ^
In static member function ‘static void arma::memory::release(eT*) [with eT = const double]’,
    inlined from ‘arma::Mat<eT>::~Mat() [with eT = double]’ at /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:32:20,
    inlined from ‘arma::Mat<eT>::~Mat() [with eT = double]’ at /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:25:1,
    inlined from ‘bool cpp_test_packing()’ at packing.cpp:45:26:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/memory.hpp:125:14: warning: ‘void free(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  125 |     std::free( (void *)(mem) );
      |     ~~~~~~~~~^~~~~~~~~~~~~~~~~
In member function ‘constexpr _Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = double]’,
    inlined from ‘constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(std::size_t) [with _Tp = double]’ at /usr/include/c++/16/bits/allocator.h:206:40,
    inlined from ‘static constexpr _Tp* std::allocator_traits<std::allocator<_Up> >::allocate(allocator_type&, size_type) [with _Tp = double]’ at /usr/include/c++/16/bits/alloc_traits.h:638:28,
    inlined from ‘constexpr std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:389:33,
    inlined from ‘constexpr void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:407:44,
    inlined from ‘constexpr std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:341:26,
    inlined from ‘constexpr std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:577:47,
    inlined from ‘bool cpp_test_packing()’ at packing.cpp:27:59:
/usr/include/c++/16/bits/new_allocator.h:162:75: note: returned from ‘void* operator new(std::size_t)’
  162 |           return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                                           ^
In static member function ‘static void arma::memory::release(eT*) [with eT = const double]’,
    inlined from ‘arma::Mat<eT>::~Mat() [with eT = double]’ at /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:32:20,
    inlined from ‘arma::Mat<eT>::~Mat() [with eT = double]’ at /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:25:1,
    inlined from ‘bool cpp_test_packing()’ at packing.cpp:47:48:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/armadillo_bits/memory.hpp:125:14: warning: ‘void free(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  125 |     std::free( (void *)(mem) );
      |     ~~~~~~~~~^~~~~~~~~~~~~~~~~
In member function ‘constexpr _Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = double]’,
    inlined from ‘constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(std::size_t) [with _Tp = double]’ at /usr/include/c++/16/bits/allocator.h:206:40,
    inlined from ‘static constexpr _Tp* std::allocator_traits<std::allocator<_Up> >::allocate(allocator_type&, size_type) [with _Tp = double]’ at /usr/include/c++/16/bits/alloc_traits.h:638:28,
    inlined from ‘constexpr std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:389:33,
    inlined from ‘constexpr void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:407:44,
    inlined from ‘constexpr std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:341:26,
    inlined from ‘constexpr std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/16/bits/stl_vector.h:577:47,
    inlined from ‘bool cpp_test_packing()’ at packing.cpp:27:59:
/usr/include/c++/16/bits/new_allocator.h:162:75: note: returned from ‘void* operator new(std::size_t)’
  162 |           return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                                           ^
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c utils-R.cpp -o utils-R.o
g++-16 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o PLNmodels.so RcppExports.o lambertW.o nlopt_wrapper.o optim_diag_cov.o optim_fixed_cov.o optim_full_cov.o optim_genet_cov.o optim_rank_cov.o optim_spherical.o optim_zi-pln.o packing.o utils-R.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -latomic_asneeded -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpy0tTUu/R.INSTALL28c86a42d88b55/PLNmodels/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpy0tTUu/R.INSTALL28c86a42d88b55/PLNmodels/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpy0tTUu/R.INSTALL28c86a42d88b55/PLNmodels/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-PLNmodels/00new/PLNmodels/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Note: wrong number of arguments to 'sqrt' 
Note: wrong number of arguments to 'sqrt' 
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (PLNmodels)