* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘hmmTMB’ ...
** package ‘hmmTMB’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
make[1]: Entering directory '/tmp/Rtmpi6OYMb/R.INSTALLdb5db5a5e1b13/hmmTMB/src'
/home/hornik/tmp/R.check/r-devel-clang/Work/build/bin/Rscript --vanilla -e "invisible(TMB::compile('hmmTMB.cpp', safebounds = FALSE, safeunload = FALSE))"
Note: Using Makevars in /home/hornik/.R/Makevars-clang 
using C++ compiler: ‘Debian clang version 18.1.4 (1)’
make[2]: Entering directory '/tmp/Rtmpi6OYMb/R.INSTALLdb5db5a5e1b13/hmmTMB/src'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include" -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include"   -DTMB_EIGEN_DISABLE_WARNINGS   -DTMB_LIB_INIT=R_init_hmmTMB  -DCPPAD_FRAMEWORK -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c hmmTMB.cpp -o hmmTMB.o
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/TMB.hpp:96:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:61:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/TMB.hpp:96:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseLU:35:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/TMB.hpp:121:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/cppad.hpp:22:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/base_require.hpp:161:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/local/base_complex.hpp:19:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/thread_alloc.hpp:18:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:78:
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:93:2: warning: delete called on 'Dist<CppAD::AD<double>>' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
   93 |         delete __ptr;
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<Dist<CppAD::AD<double>>>::operator()' requested here
  398 |           get_deleter()(std::move(__ptr));
      |           ^
./hmmTMB.hpp:154:43: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<double>>>::~unique_ptr' requested here
  154 |     std::unique_ptr<Dist<Type>> obsdist = dist_generator<Type>(distcode(var));
      |                                           ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/tmb_core.hpp:1308:6: note: in instantiation of member function 'objective_function<CppAD::AD<double>>::operator()' requested here
 1308 |     F(); // Run through user template (modifies reportvector)
      |      ^
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/TMB.hpp:121:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/cppad.hpp:22:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/base_require.hpp:161:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/local/base_complex.hpp:19:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/thread_alloc.hpp:18:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:78:
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:93:2: warning: delete called on 'Dist<double>' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
   93 |         delete __ptr;
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<Dist<double>>::operator()' requested here
  398 |           get_deleter()(std::move(__ptr));
      |           ^
./hmmTMB.hpp:154:43: note: in instantiation of member function 'std::unique_ptr<Dist<double>>::~unique_ptr' requested here
  154 |     std::unique_ptr<Dist<Type>> obsdist = dist_generator<Type>(distcode(var));
      |                                           ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/tmb_core.hpp:2031:34: note: in instantiation of member function 'objective_function<double>::operator()' requested here
 2031 |       PROTECT( res = asSEXP( pf->operator()() ) );
      |                                  ^
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/TMB.hpp:121:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/cppad.hpp:22:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/base_require.hpp:161:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/local/base_complex.hpp:19:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/thread_alloc.hpp:18:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:78:
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:93:2: warning: delete called on 'Dist<CppAD::AD<CppAD::AD<double>>>' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
   93 |         delete __ptr;
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<Dist<CppAD::AD<CppAD::AD<double>>>>::operator()' requested here
  398 |           get_deleter()(std::move(__ptr));
      |           ^
./hmmTMB.hpp:154:43: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<CppAD::AD<double>>>>::~unique_ptr' requested here
  154 |     std::unique_ptr<Dist<Type>> obsdist = dist_generator<Type>(distcode(var));
      |                                           ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/tmb_core.hpp:913:20: note: in instantiation of member function 'objective_function<CppAD::AD<CppAD::AD<double>>>::operator()' requested here
  913 |     Type ans=this->operator()();
      |                    ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/tmb_core.hpp:2112:10: note: in instantiation of member function 'objective_function<CppAD::AD<CppAD::AD<double>>>::evalUserTemplate' requested here
 2112 |   y[0]=F.evalUserTemplate();
      |          ^
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/TMB.hpp:121:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/cppad.hpp:22:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/base_require.hpp:161:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/local/base_complex.hpp:19:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/cppad/thread_alloc.hpp:18:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:78:
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:93:2: warning: delete called on 'Dist<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
   93 |         delete __ptr;
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<Dist<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>>::operator()' requested here
  398 |           get_deleter()(std::move(__ptr));
      |           ^
./hmmTMB.hpp:154:43: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>>::~unique_ptr' requested here
  154 |     std::unique_ptr<Dist<Type>> obsdist = dist_generator<Type>(distcode(var));
      |                                           ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/tmb_core.hpp:913:20: note: in instantiation of member function 'objective_function<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>::operator()' requested here
  913 |     Type ans=this->operator()();
      |                    ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/TMB/include/tmb_core.hpp:2361:12: note: in instantiation of member function 'objective_function<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>::evalUserTemplate' requested here
 2361 |   y[0] = F.evalUserTemplate();
      |            ^
7 warnings generated.
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o hmmTMB.so hmmTMB.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[2]: Leaving directory '/tmp/Rtmpi6OYMb/R.INSTALLdb5db5a5e1b13/hmmTMB/src'
make[2]: Entering directory '/tmp/Rtmpi6OYMb/R.INSTALLdb5db5a5e1b13/hmmTMB/src'
make[2]: Leaving directory '/tmp/Rtmpi6OYMb/R.INSTALLdb5db5a5e1b13/hmmTMB/src'
make[1]: Leaving directory '/tmp/Rtmpi6OYMb/R.INSTALLdb5db5a5e1b13/hmmTMB/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-hmmTMB/00new/hmmTMB/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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
* creating tarball
packaged installation of ‘hmmTMB’ as ‘hmmTMB_1.0.2_R_x86_64-pc-linux-gnu.tar.gz’
* DONE (hmmTMB)